Skip to navigation

Remove deployment access

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Deployment ID
subject_typestringRequired

Subject type: member or group

subject_idstringRequired
Astro user ID or WorkOS group ID

Response

Accepted
deployment_idstringOptional
desired_rolestringOptional
desired_versionlongOptional
statusstringOptional
subject_idstringOptional
subject_typestringOptional

Errors

400
Bad Request Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error