Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
repositories
/
token
Rotate the access token for a project repository
curl --request POST \
  --url https://eu1.api.matillion.com/dpc/v1/projects/{projectId}/repositories/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Git-Provider-Access-Token: <git-provider-access-token>'
{
  "detail": "<string>",
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "<string>",
  "violations": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

a valid bearer token

Headers

Git-Provider-Access-Token
string
required
Minimum string length: 1

Path Parameters

projectId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Response

Repository token rotated successfully