DeleteCategory

DELETE /categories/{categoryId}

Use to delete a category

Path parameters

  • categoryId string Required

Query parameters

  • apiKey string Required

    Token defined on the server to be able to perform administration tasks

Responses

  • 204

    No Content

  • 401

    Unauthorized

  • 500

    Category could not be deleted

DELETE /categories/{categoryId}
curl \
 --request DELETE 'https://garden-to-yours.herokuapp.com/categories/{categoryId}?apiKey=string' \
 --header "Authorization: Bearer $ACCESS_TOKEN"