Remove An Avatar from My Avatars
This endpoint removes/deletes an Avatars from my Avatars
info
This operation requires authentication.
HTTP Request
DELETE /api/v2/user/avatar/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
avatar_id | body | string | true | A unique integer value identifying this avatar |
Example Request
- JavaScript
- Bash
fetch('/api/v2/user/avatar/?avatar_id=123',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer {access_token}'
}
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
# You can also use wget
curl -X DELETE /api/v2/user/avatar/?avatar_id=123
-H 'Authorization: Bearer {access_token}'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Response status code | None |