cURL
curl --request PATCH \ --url https://api.example.com/v1/users/policies/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "toManage", "roles": [ "Admin" ], "functions": [ "fullDbPermission" ] } '
{ "id": "uuid", "name": "toManage", "roles": [ "Admin" ], "functions": [ "fullDbPermission" ], "organizationId": "0x000000000000000000000000000000000000000000000000000048336176656e" }
Update policy
ok
Was this page helpful?