resource_types
Creates, updates, deletes, gets or lists a resource_types resource.
Overview
| Name | resource_types |
| Type | Resource |
| Id | cloudflare.iam.resource_types |
Fields
The following fields are returned by SELECT queries:
- get
- list
Get SCIM Resource Type response
| Name | Datatype | Description |
|---|---|---|
contents | string |
List SCIM Resource Types response
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | account_id, resource_type_id | Returns a single SCIM resource type by ID (RFC 7643 Section 6). Valid IDs are User and Group. | |
list | select | account_id | Returns the list of SCIM resource types supported by the Cloudflare SCIM service (RFC 7643 Section 6, RFC 7644 Section 4). Clients use this to discover available resource categories (e.g. Users, Groups) and their associated schemas. Query parameters are not supported on this endpoint. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
resource_type_id | string |
SELECT examples
- get
- list
Returns a single SCIM resource type by ID (RFC 7643 Section 6). Valid IDs are User and Group.
SELECT
contents
FROM cloudflare.iam.resource_types
WHERE account_id = '{{ account_id }}' -- required
AND resource_type_id = '{{ resource_type_id }}' -- required
;
Returns the list of SCIM resource types supported by the Cloudflare SCIM service (RFC 7643 Section 6, RFC 7644 Section 4). Clients use this to discover available resource categories (e.g. Users, Groups) and their associated schemas. Query parameters are not supported on this endpoint.
SELECT
contents
FROM cloudflare.iam.resource_types
WHERE account_id = '{{ account_id }}' -- required
;