Delete profile type
DELETE/profile_types/:id
Delete a profile type. All profiles of that type must first be destroyed before the profile type can be destroyed.
Request
Path Parameters
id uuidrequired
ID of the object to retrieve, update, or delete
Responses
- 200
- 400
- 500
Info about the operation
- application/json
- Schema
- Example (from schema)
Schema
info
A message confirming the operation
{
"info": "object deleted"
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
oneOf
error
error
errors
{}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...