Skip to main content
DELETE
/
api
/
Perfil
/
{id}
curl --request DELETE \
  --url https://your-api-host/api/Perfil/4 \
  --header 'Authorization: Bearer <token>'
true
Permanently deletes a profile. Returns true on success.

Authentication

Requires a valid Bearer token.
Authorization: Bearer <token>

Permissions

Requires the perfil.eliminar permission. Returns 403 Forbidden if the authenticated user’s profile does not have this permission.

Path parameters

id
integer
required
ID of the profile to delete.
Deleting a profile that still has users assigned to it can leave those users without a valid profile, which may prevent them from logging in or accessing the system. Reassign all users to a different profile before deleting.

Examples

curl --request DELETE \
  --url https://your-api-host/api/Perfil/4 \
  --header 'Authorization: Bearer <token>'
true

Build docs developers (and LLMs) love