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