Sign in

Update Position

PUT https://{organization}.myguper.com/api/register/team/position

Atualiza um cargo. Envie apenas os campos que mudam — id é obrigatório.

Se parentId for incluído (mesmo como null), o CycleGuard é executado. Se areaId não vier, o areaId atual do cargo é usado para validar o pai.

Try-it values populated from environment ACME (Demo)


Authentication

Token

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

Headers

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.

Request body

Content-Type: application/json

{
    "id": 12,
    "areaId": 2,                                                // optional
    "name": "Analista de SEO Sênior",                           // optional
    "parentId": 11,                                             // optional
    "description": "Responsável por SEO orgânico e técnico",    // optional
    "data": null                                                // optional
}

Responses

{ "affectedRows": 1 }
Copied to clipboard