Create role within organization tenant
組織内の特定のテナントに新しいロールを作成します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
query Parameters
| dry_run | boolean Default: false trueの場合、リクエストの検証のみで実行はされません |
Request Body schema: application/jsonrequired
| name required | string <= 255 characters Role name (must be unique within tenant) |
| description | string <= 255 characters Human-readable description of the role |
| permissions required | Array of strings <uuid> [ items <uuid > ] List of permission IDs to assign to this role (empty array is allowed) |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 201
- 400
- 403
- 404
{- "dry_run": true,
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}List roles within organization tenant
組織内の特定のテナントのロール一覧を取得します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
query Parameters
| limit | integer [ 1 .. 1000 ] Default: 20 返すアイテムの最大数 |
| offset | integer >= 0 Default: 0 アイテムを返す開始インデックス |
Responses
Response samples
- 200
- 403
- 404
{- "list": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total_count": 0,
- "limit": 0,
- "offset": 0
}Get role within organization tenant
組織内のテナントの特定のロールを取得します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
| role-id required | string <uuid> ロールの識別子 |
Responses
Response samples
- 200
- 403
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update role within organization tenant
組織内のテナントの特定のロールを更新します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
| role-id required | string <uuid> ロールの識別子 |
query Parameters
| dry_run | boolean Default: false trueの場合、リクエストの検証のみで実行はされません |
Request Body schema: application/jsonrequired
| name required | string <= 255 characters Role name (must be unique within tenant) |
| description | string <= 255 characters Human-readable description of the role |
| permissions required | Array of strings <uuid> [ items <uuid > ] List of permission IDs to assign to this role (empty array is allowed for complete removal) |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "permissions": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 403
- 404
{- "dry_run": true,
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Delete role within organization tenant
組織内のテナントの特定のロールを削除します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
| role-id required | string <uuid> ロールの識別子 |
query Parameters
| dry_run | boolean Default: false trueの場合、リクエストの検証のみで実行はされません |
Responses
Response samples
- 403
- 404
{- "error": "string",
- "error_description": "string",
- "error_messages": [
- "string"
], - "error_details": { }
}Create permission within organization tenant
組織内の特定のテナントに新しい権限を作成します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
query Parameters
| dry_run | boolean Default: false trueの場合、リクエストの検証のみで実行はされません |
Request Body schema: application/jsonrequired
| name required | string <= 255 characters Permission name (must be unique within tenant) |
| description | string Human-readable description of the permission |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string"
}Response samples
- 201
- 400
- 403
- 404
{- "dry_run": true,
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}List permissions within organization tenant
組織内の特定のテナントの権限一覧を取得します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
query Parameters
| limit | integer [ 1 .. 1000 ] Default: 20 返すアイテムの最大数 |
| offset | integer >= 0 Default: 0 アイテムを返す開始インデックス |
Responses
Response samples
- 200
- 403
- 404
{- "list": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total_count": 0,
- "limit": 0,
- "offset": 0
}Get permission within organization tenant
組織内のテナントの特定の権限を取得します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
| permission-id required | string <uuid> 権限の識別子 |
Responses
Response samples
- 200
- 403
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update permission within organization tenant
組織内のテナントの特定の権限を更新します
path Parameters
| organization-id required | string <uuid> 組織の識別子 |
| tenant-id required | string テナントの識別子 |
| permission-id required | string <uuid> 権限の識別子 |
query Parameters
| dry_run | boolean Default: false trueの場合、リクエストの検証のみで実行はされません |
Request Body schema: application/jsonrequired
| name required | string <= 255 characters Permission name (must be unique within tenant) |
| description | string Human-readable description of the permission |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string"
}Response samples
- 200
- 400
- 403
- 404
{- "dry_run": true,
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}