Show examples in:
JavascriptHTTP
Endpoint info
Available examples
Dashboard API > Organization mandate request

Approve a mandate request

Warning: Experimental API

Please note that the Dashboard API is an experimental, prerelease API. This API method is considered unstable, and should be avoided in production environments and automations. Changes may occur at any time without warning.

Examples

PUT https://site-api.datocms.com/organization-mandate-requests/:organization_mandate_request_id/approve HTTP/1.1
Authorization: Bearer YOUR-API-TOKEN
Accept: application/json
X-Api-Version: 3
Terminal window
curl -g 'https://site-api.datocms.com/organization-mandate-requests/:organization_mandate_request_id/approve' \
-X PUT \
-H "Authorization: Bearer YOUR-API-TOKEN" \
-H "Accept: application/json" \
-H "X-Api-Version: 3"
await fetch(
"https://site-api.datocms.com/organization-mandate-requests/:organization_mandate_request_id/approve",
{
method: "PUT",
headers: {
Authorization: "Bearer YOUR-API-TOKEN",
Accept: "application/json",
"X-Api-Version": "3",
},
},
);