ReDoc documentation

company/role/{roleId}

company/role/{roleId}

get/V1/company/role/{roleId}

Returns the list of permissions for a specified role.

Request
path Parameters
roleId
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

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

company/role/{roleId}

delete/V1/company/role/{roleId}

Delete a role.

Request
path Parameters
roleId
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true