Note that some of the features that can be controlled via the API are related to the permissions assigned to your access token (seller, customer etc. with subcategories). Please contact Skygd support if any Forbidden
responses occur.
To remove a specific user, you must know his id
. You can find the id
as described in the fetch objects list tutorial.
Perform an HTTP request to remove the object with id
.
DELETE /api/users/{id} HTTP/1.1
Host: https://admin.skyresponse.com
Authorization: Bearer tkgY9yiM...plBp
If you don’t know how to get the Authorization
header, please proceed to the Authentication tutorial
If an object with the specified id
exists and you are allowed to perform this kind of operation, the server will respond with HTTP 202 Accepted
.
{
"data": null,
"errors": []
}
cURL
example:Example of remove object:
curl -X DELETE -H 'https://admin.skyresponse.com/api/users/1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"
Note that some of the features that can be controlled via the API are related to the permissions assigned to your access token (seller, customer etc. with subcategories). Please contact Skygd support if any Forbidden
responses occur.
To remove a specific user, you must know his id
. You can find the id
as described in the fetch objects list tutorial.
Perform an HTTP request to remove the object with id
.
DELETE /api/users/{id} HTTP/1.1
Host: https://admin.skyresponse.com
Authorization: Bearer tkgY9yiM...plBp
If you don’t know how to get the Authorization
header, please proceed to the Authentication tutorial
If an object with the specified id
exists and you are allowed to perform this kind of operation, the server will respond with HTTP 202 Accepted
.
{
"data": null,
"errors": []
}
cURL
example:Example of remove object:
curl -X DELETE -H 'https://admin.skyresponse.com/api/users/1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"