Create a new manager
POST/companies/:company_id/managers
Create a new manager
Request
- application/json
Body
name stringrequired
The name of the manager
email emailrequired
The email of the manager
claims string[]required
Possible values: [billing
, managers_read
, manager_invite
, clients_invite
, clients_reads
, management
], >= 1
Responses
- 200
success - manager created
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
name stringrequired
email stringrequired
claims string[]required
Possible values: [billing
, managers_read
, manager_invite
, clients_invite
, clients_reads
, management
]
{
"id": "adfdfaca-48f0-4f3b-b30a-c6d97293090c",
"name": "Jean dupont",
"email": "jean.dupont@company.tld",
"claims": [
"billing"
]
}
Loading...