repos
Update repository
Update details of an existing repository.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo:update
post/orgs/{org_slug}/repos/{repo_slug}
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/repos/{repo_slug}
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
org_slugstring required
The slug of the organization
repo_slugstring required
The slug of the repository
Query parameters
workspacestring
The workspace of the repository
Request body
Response
Updated repository details
Changes
No recorded changes to this operation across all 2 revisions of this API.