- admin
- List cron tasks
- Run cron task
- List all organizations
- List unadopted repositories
- Delete unadopted files
- Adopt unadopted files as a repository
- List all users
- Create a user
- Delete a user
- Edit an existing user
- Add a public key on behalf of a user
- Delete a user's public key
- Create an organization
- Create a repository on behalf of a user
- miscellaneous
- notification
- List users's notification threads
- Mark notification threads as read, pinned or unread
- Check if unread notifications exist
- Get notification thread by ID
- Mark notification thread as read by ID
- List users's notification threads on a specific repo
- Mark notification threads as read, pinned or unread on a specific repo
- organization
- Create a repository in an organization
- Get list of organizations
- Create an organization
- Delete an organization
- Get an organization
- Edit an organization
- List an organization's webhooks
- Create a hook
- Delete a hook
- Get a hook
- Update a hook
- List an organization's labels
- Create a label for an organization
- Delete a label
- Get a single label
- Update a label
- List an organization's members
- Remove a member from an organization
- Check if a user is a member of an organization
- List an organization's public members
- Conceal a user's membership
- Check if a user is a public member of an organization
- Publicize a user's membership
- List an organization's repos
- Create a repository in an organization
- List an organization's teams
- Create a team
- Search for teams within an organization
- Delete a team
- Get a team
- Edit a team
- List a team's members
- Remove a team member
- List a particular member of team
- Add a team member
- List a team's repos
- Remove a repository from a team
- Add a repository to a team
- List the current user's organizations
- List a user's organizations
- issue
- Search for issues across the repositories that the user has access to
- List a repository's issues
- Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
- List all comments in a repository
- Delete a comment
- Get a comment
- Edit a comment
- Remove a reaction from a comment of an issue
- Get a list of reactions from a comment of an issue
- Add a reaction to a comment of an issue
- Get an issue
- Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
- List all comments on an issue
- Add a comment to an issue
- Delete a comment
- Edit a comment
- Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
- Remove all labels from an issue
- Get an issue's labels
- Add a label to an issue
- Replace an issue's labels
- Remove a label from an issue
- Remove a reaction from an issue
- Get a list reactions of an issue
- Add a reaction to an issue
- Delete an issue's existing stopwatch.
- Start stopwatch on an issue.
- Stop an issue's existing stopwatch.
- Get users who subscribed on an issue.
- Check if user is subscribed to an issue
- Unsubscribe user from issue
- Subscribe user to issue
- Reset a tracked time of an issue
- List an issue's tracked times
- Add tracked time to a issue
- Delete specific tracked time
- Get all of a repository's labels
- Create a label
- Delete a label
- Get a single label
- Update a label
- Get all of a repository's opened milestones
- Create a milestone
- Delete a milestone
- Get a milestone
- Update a milestone
- repository
- Migrate a remote git repositoryPOST
- Search for repositoriesGET
- Delete a repositoryDELETE
- Get a repositoryGET
- Edit a repository's properties. Only fields that are set will be changed.PATCH
- Get an archive of a repositoryGET
- Return all users that have write access and can be assigned to issuesGET
- List branch protections for a repositoryGET
- Create a branch protections for a repositoryPOST
- Delete a specific branch protection for the repositoryDELETE
- Get a specific branch protection for the repositoryGET
- Edit a branch protections for a repository. Only fields that are set will be changedPATCH
- List a repository's branchesGET
- Create a branchPOST
- Delete a specific branch from a repositoryDELETE
- Retrieve a specific branch from a repository, including its effective branch protectionGET
- List a repository's collaboratorsGET
- Delete a collaborator from a repositoryDELETE
- Check if a user is a collaborator of a repositoryGET
- Add a collaborator to a repositoryPUT
- Get a list of all commits from a repositoryGET
- Get a commit's combined status, by branch/tag/commit referenceGET
- Get a commit's statuses, by branch/tag/commit referenceGET
- Gets the metadata of all the entries of the root dirGET
- Delete a file in a repositoryDELETE
- Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dirGET
- Create a file in a repositoryPOST
- Update a file in a repositoryPUT
- Get the EditorConfig definitions of a file in a repositoryGET
- List a repository's forksGET
- Fork a repositoryPOST
- Gets the blob of a repository.GET
- Get a single commit from a repositoryGET
- Get a note corresponding to a single commit from a repositoryGET
- Get specified ref or filtered repository's refsGET
- Get specified ref or filtered repository's refsGET
- Gets the tag object of an annotated tag (not lightweight tags)GET
- Gets the tree of a repository.GET
- List the hooks in a repositoryGET
- Create a hookPOST
- List the Git hooks in a repositoryGET
- Delete a Git hook in a repositoryDELETE
- Get a Git hookGET
- Edit a Git hook in a repositoryPATCH
- Delete a hook in a repositoryDELETE
- Get a hookGET
- Edit a hook in a repositoryPATCH
- Test a push webhookPOST
- Get available issue templates for a repositoryGET
- List a repository's keysGET
- Add a key to a repositoryPOST
- Delete a key from a repositoryDELETE
- Get a repository's key by idGET
- Get languages and number of bytes of code writtenGET
- Sync a mirrored repositoryPOST
- List a repo's pull requestsGET
- Create a pull requestPOST
- Get a pull requestGET
- Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.PATCH
- Get a pull request diffGET
- Get a pull request patch fileGET
- Get commits for a pull requestGET
- Check if a pull request has been mergedGET
- Merge a pull requestPOST
- cancel review requests for a pull requestDELETE
- create review requests for a pull requestPOST
- List all reviews for a pull requestGET
- Create a review to an pull requestPOST
- Delete a specific review from a pull requestDELETE
- Get a specific review for a pull requestGET
- Submit a pending review to an pull requestPOST
- Get a specific review for a pull requestGET
- Dismiss a review for a pull requestPOST
- Cancel to dismiss a review for a pull requestPOST
- Merge PR's baseBranch into headBranchPOST
- Get a file from a repositoryGET
- List a repo's releasesGET
- Create a releasePOST
- Delete a release by tag nameDELETE
- Get a release by tag nameGET
- Delete a releaseDELETE
- Get a releaseGET
- Update a releasePATCH
- List release's attachmentsGET
- Create a release attachmentPOST
- Delete a release attachmentDELETE
- Get a release attachmentGET
- Edit a release attachmentPATCH
- Return all users that can be requested to review in this repoGET
- Get signing-key.gpg for given repositoryGET
- List a repo's stargazersGET
- Get a commit's statusesGET
- Create a commit statusPOST
- List a repo's watchersGET
- Unwatch a repoDELETE
- Check if the current user is watching a repoGET
- Watch a repoPUT
- List a repository's tagsGET
- Create a new git tag in a repositoryPOST
- Delete a repository's tag by nameDELETE
- Get the tag of a repository by tag nameGET
- List a repository's teamsGET
- Delete a team from a repositoryDELETE
- Check if a team is assigned to a repositoryGET
- Add a team to a repositoryPUT
- List a repo's tracked timesGET
- List a user's tracked times in a repoGET
- Get list of topics that a repository hasGET
- Replace list of topics for a repositoryPUT
- Delete a topic from a repositoryDELETE
- Add a topic to a repositoryPUT
- Transfer a repo ownershipPOST
- Create a repository using a templatePOST
- Get a repository by idGET
- search topics via keywordGET
- Create a repositoryPOST
- settings
- user
- Get the authenticated user
- List the authenticated user's oauth2 applications
- creates a new OAuth2 application
- delete an OAuth2 Application
- get an OAuth2 Application
- update an OAuth2 Application, this includes regenerating the client secret
- Delete email addresses
- List the authenticated user's email addresses
- Add email addresses
- List the authenticated user's followers
- List the users that the authenticated user is following
- Unfollow a user
- Check whether a user is followed by the authenticated user
- Follow a user
- Get a Token to verify
- Verify a GPG key
- List the authenticated user's GPG keys
- Create a GPG key
- Remove a GPG key
- Get a GPG key
- List the authenticated user's public keys
- Create a public key
- Delete a public key
- Get a public key
- List the repos that the authenticated user owns
- Get user settings
- Update user settings
- The repos that the authenticated user has starred
- Unstar the given repo
- Whether the authenticated is starring the repo
- Star the given repo
- Get list of all existing stopwatches
- List repositories watched by the authenticated user
- List all the teams a user belongs to
- List the current user's tracked times
- Search for users
- Check if one user is following another user
- Get a user
- List the given user's followers
- List the users that the given user is following
- List the given user's GPG keys
- Get a user's heatmap
- List the given user's public keys
- List the repos owned by the given user
- The repos that the given user has starred
- List the repositories watched by a user
- List the authenticated user's access tokens
- Create an access token
- delete an access token
Delete a collaborator from a repository
DELETE
/repos/{owner}/{repo}/collaborators/{collaborator}
repository
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/api/v1/repos///collaborators/'
Response Response Example
204 - Example 1
{}
Request
Path Params
owner
stringÂ
required
repo
stringÂ
required
collaborator
stringÂ
required
Responses
🟢204OK
application/json
Body
object {0}
🟠422422
Modified at 2022-09-10 23:12:52