Home > git-documentdb > RemoteRepository > destroy
#
RemoteRepository.destroy() methodDelete a repository on a remote site
Signature:Promise<void>
#
Remarksconnection.type must be 'github'
#
ExceptionsErr.UndefinedPersonalAccessTokenError
Err.CannotConnectRemoteRepositoryError
may include the following errors:
HttpError
Authentication error
Permission for private repository error
Other network errors