DELETE /v1/avatars

Delete an avatar for the entity.

application/json

Body

Request for deleting an avatar for the entity.

  • entityId string

    Entity ID

Responses

  • 204

    Successful operation with no content

  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

DELETE /v1/avatars
curl \
 --request DELETE 'https://api-dev.classmanager.io/v1/avatars' \
 --header "Content-Type: application/json" \
 --data '{"entityId":"stf_xxxxxxxxxxxxx"}'
Request examples
{
  "entityId": "stf_xxxxxxxxxxxxx"
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (422)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}