Entrar

Eliminar área

DELETE https://{organization}.myguper.com/api/register/team/area

Elimina un área. Falla (FK RESTRICT) si existen sub-áreas o puestos vinculados — elimínalos antes o muévelos a otra área.

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Cuerpo de la petición

Content-Type: application/json

{
    "id": 2
}

Respuestas

{ "affectedRows": 1 }
Copied to clipboard