PATCH
/
organizations
/
{organizationId}
/
bitbucket
/
authorizations
/
{bitbucketAuthorizationId}
curl --request PATCH \
  --url https://api.icepanel.io/v1/organizations/{organizationId}/bitbucket/authorizations/{bitbucketAuthorizationId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>"
}'
{
  "bitbucketAuthorization": {
    "workspaceId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "organizationId": "<string>",
    "senderEmail": "<string>",
    "senderId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "workspaceName": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required
bitbucketAuthorizationId
string
required

Body

application/json
workspaceId
string

Response

200
application/json
OK
bitbucketAuthorization
object
required