post
https://api.gupy.io/os/v1/roles
Creates a new role (cargo) for the company resolved from the API token.
Business rules:
name,externalCode, andsimilarityare required.externalCodemust be unique among active roles for the same company.jobLevelis optional: omit the field, sendnull, or send an empty string ("")—empty string is normalized tonullbefore persistence.descriptionis optional: omit the field, sendnull, or send an empty string.
Validation:
- Invalid enum values for
similarityorjobLevel, or other constraint violations return 400 with validation details.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
