Deny a request
Changed onDenies a request by ID.
:::note This endpoint is executed according to the URL you received in the approval notification. :::
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/approval/{id}/deny
- AuthHTTP bearer
Path parameters
The ID of the approval.
Query parameters
The authentication token provided in the approval notification.
Request body
Example request
{
"reviewer": {
"name": "Alex Manager",
"email": "alex.mgr@crypto-inc.com",
"nullplatform_user_id": null
},
"message": "Denied because it's outside of the deployment window.",
"details": {
"deployment_window": "Mon-Fri ; 9 AM to 5 PM"
}
}Response
The operation was successful.
Example response
{
"success": true
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking