PATCH
/
organizations
/
{organizationId}
/
bitbucket-server
/
tokens
/
{bitbucketServerTokenId}
curl --request PATCH \
  --url https://api.icepanel.io/v1/organizations/{organizationId}/bitbucket-server/tokens/{bitbucketServerTokenId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "serverUrl": "<string>",
  "token": "<string>",
  "username": "<string>"
}'
{
  "bitbucketServerToken": {
    "serverUrl": "<string>",
    "token": "<string>",
    "username": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "organizationId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required
bitbucketServerTokenId
string
required

Body

application/json
serverUrl
string
token
string
username
string

Response

200
application/json
OK
bitbucketServerToken
object
required