ReDoc documentation

company/role/{id}

company/role/{id}

put/V1/company/role/{id}

Create or update a role for a selected company.

Request
path Parameters
id
required
string
Request Body schema:
required
object (company-data-role-interface)

Role data transfer object interface.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "role": {
    }
}
Response samples
{
  • "id": 0,
  • "role_name": "string",
  • "permissions": [
    ],
  • "company_id": 0,
  • "extension_attributes": { }
}