Approvals

Modify an Approval

put/{spaceId}/servertaskapprovals/{serverTaskApprovalId}/approvals/{id}

Path parameters

spaceIdstring required

The id of the space for the Approval.

serverTaskApprovalIdstring required

The id of the Server Task Approval.

idstring required

The id of the Approval.

Request body

Idstring required

The id of the Approval.

Notesstring required

A reason for approving or rejecting the deployment

ServerTaskApprovalIdstring required

The id of the Server Task Approval.

SpaceIdstring required

The id of the space for the Approval.

Statusstring required

Approve or reject the deployment. ["Approved", "Rejected"]

Example request

{
  "SpaceId": "Spaces-1"
}

Response

Success

ApproverDisplayNamestring
ApproverEmailAddressstring
ApproverUsernamestring
Idstring
Namestring
Notesstring
ServerTaskApprovalIdstring
SpaceIdstring
Statusstring
UserIdstring

Example response

{
  "SpaceId": "Spaces-1",
  "UserId": "Users-1"
}

Changes

No recorded changes to this endpoint across all 7 revisions of this API.