Description
Delete authorities for database.
Request URL
Database API v1.0 DELETE /v1/databases/(uuid: database_id)/grant/(uuid: user_id)
Request Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
X-Auth-Token | - | header | string | User Token |
database_id | - | URI | UUID | Database ID |
user_id | - | URI | UUID | User ID |
Response Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
grant | - | plain | list | - |
user_id | - | plain | UUID | User ID |
status | creating | plain | string | Status |
Request Json
Normal response codes
202 - Success
Error response codes
400 - Bad Request
401 - Access Denied
404 - Not Found
Repeatable
No
Example
curl -i -X DELETE \ -H "Accept: application/json" \ -H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \ https://database-hosting.tyo1.cloud.z.com/v1/databases/(uuid: database_id)/grant/(uuid: user_id)
HTTP/1.1 202 Success Date: Tue, 09 Dec 2014 01:46:58 GMT Server: Apache Content-Length: 1003 Content-Type: application/json