Services
Permissions
create
Example Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
request | models.CreatePermissionRequestBody | :heavy_check_mark: | The request object to use for the request. |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
models.CreatePermissionResponse
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
delete
Example Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
request | models.DeletePermissionRequestBody | :heavy_check_mark: | The request object to use for the request. |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
models.DeletePermissionResponse
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
get
Example Usage
Parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
permission_id | str | :heavy_check_mark: | N/A | perm_123 |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
list
Example Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
models.ListPermissionsResponse
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
create_role
Example Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
request | models.CreateRoleRequestBody | :heavy_check_mark: | The request object to use for the request. |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
delete_role
Example Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
request | models.DeleteRoleRequestBody | :heavy_check_mark: | The request object to use for the request. |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
get_role
Example Usage
Parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
role_id | str | :heavy_check_mark: | N/A | role_123 |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
list_roles
Example Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
Errors
Error Type | Status Code | Content Type |
---|---|---|
models.ErrBadRequest | 400 | application/json |
models.ErrUnauthorized | 401 | application/json |
models.ErrForbidden | 403 | application/json |
models.ErrNotFound | 404 | application/json |
models.ErrConflict | 409 | application/json |
models.ErrTooManyRequests | 429 | application/json |
models.ErrInternalServerError | 500 | application/json |
models.SDKError | 4XX, 5XX | */* |
Was this page helpful?