Skip to content

Set Sandbox Entitlements

Set new sandbox entitlements, including granting and revoking allowances, for the given sandbox name.

POST/api/{version}/objects/sandbox/entitlements/set
NameDescription
Acceptapplication/json (default) or application/xml
Content-Typeapplication/x-www-form-urlencoded
curl -X POST -H "Authorization: {SESSION_ID}" \
'https://myvault.veevavault.com/api/v21.1/objects/sandbox/entitlements/set' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'name=Sandbox0' \
-d 'type=config' \
-d 'allowance=1' \
-d 'grant=true'
{
    "responseStatus": "SUCCESS",
    "data": {
        "entitlements": [
            {
                "type": "config",
                "available": 1,
                "allowed": 3,
                "temporary": 3
            }
        ]
    }
}