DELETE /users/:id/profile_picture

DELETE /users/{id}/profile_picture

Delete user profile_picture

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Responses

  • 200

    successful operation

    Hide response attributes Show response attributes array[object]
  • 400

    Bad Request

  • 401

    Authorization information is missing or invalid.

  • 404

    User Not Found

  • 500

    Server Error

DELETE /users/{id}/profile_picture
curl \
 -X DELETE https://api.cosmily.com/api/v1/users/{id}/profile_picture \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": 42,
    "user_id": 42,
    "image": "string",
    "url": "string"
  }
]