Update the name or admin flag of an existing profile.
curl --request PUT \
--url https://your-api-host/api/Perfil/4 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"strNombrePerfil": "Supervisor Senior",
"BitAdministrador": false
}'
{}
strNombrePerfil and BitAdministrador are modified — the profile ID is determined by the path parameter.
Authorization: Bearer <token>
perfil.editar permission. Returns 403 Forbidden if the authenticated user’s profile does not have this permission.
true, the profile has full system access regardless of module-level permissions.IdPerfil value included in the request body is ignored. The profile to update is always identified by the id path parameter.curl --request PUT \
--url https://your-api-host/api/Perfil/4 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"strNombrePerfil": "Supervisor Senior",
"BitAdministrador": false
}'
{}
curl --request PUT \
--url https://your-api-host/api/Perfil/4 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"strNombrePerfil": "Supervisor Senior",
"BitAdministrador": false
}'
{}