ReDoc documentation
Create or update a role for a selected company.
200 Success.
400 Bad Request
401 Unauthorized
Unexpected error
{- "role": {
- "id": 0,
- "role_name": "string",
- "permissions": [
- {
- "id": 0,
- "role_id": 0,
- "resource_id": "string",
- "permission": "string"
}
], - "company_id": 0,
- "extension_attributes": { }
}
}
{- "id": 0,
- "role_name": "string",
- "permissions": [
- {
- "id": 0,
- "role_id": 0,
- "resource_id": "string",
- "permission": "string"
}
], - "company_id": 0,
- "extension_attributes": { }
}