List Rules
Returns a list of auto user provisioning rules.
Query Parameters
- limit int64
Limits the size of the response on each page to the specified number of items.
- start string
Sets the page token used to browse the collection. Leave this parameter empty to get the first page. Other pages can be traversed using HATEOAS links.
- filter string
Narrows down the results to only the items that satisfy the filter criteria. The following table lists the supported filter fields for this resource and the filter conditions that can be applied on those fields:
For more information about filtering, refer to the Filtering section of this guide.Field Filter Condition Description name $contains A case sensitive substring of the name of the rule. role_id $eq A Clumio-assigned ID of the role. organizational_unit_id $eq A Clumio-assigned ID of the organizational unit.
Responses
- 200
- default
Success
- application/api.clumio.auto-user-provisioning-rules=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- current_count int64
The number of items listed on the current page.
- limit int64
The maximum number of items displayed per page in the response.
- start string
The page token used to get this response.
{
"_embedded": {
"items": [
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"delete-auto-user-provisioning-rule": {
"href": "string",
"templated": true,
"type": "string"
},
"update-auto-user-provisioning-rule": {
"href": "string",
"templated": true,
"type": "string"
}
},
"condition": "string",
"name": "string",
"provision": {
"organizational_unit_ids": [
"string"
],
"role_id": "string"
},
"rule_id": "string"
}
]
},
"_links": {
"_first": {
"href": "string",
"templated": true,
"type": "string"
},
"_next": {
"href": "string",
"templated": true,
"type": "string"
},
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"create-auto-user-provisioning-rule": {
"href": "string",
"templated": true,
"type": "string"
}
},
"current_count": 0,
"limit": 0,
"start": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
GET /settings/auto-user-provisioning/rules
Authorization
Request
Request
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/settings/auto-user-provisioning/rules' \
-H 'Accept: application/api.clumio.auto-user-provisioning-rules=v1+json' \
-H 'Authorization: Bearer <TOKEN>'