{"_id":"5bd72a877ef491001860b2fa","project":"543469460ef9c00800164f0e","version":{"_id":"54346a2a0ef9c00800164f28","forked_from":"543469460ef9c00800164f11","project":"543469460ef9c00800164f0e","__v":8,"createdAt":"2014-10-07T22:33:14.982Z","releaseDate":"2014-10-07T22:33:14.982Z","categories":["54346a2b0ef9c00800164f29","543473445b10711400c6c21a","543473500ef9c00800164fde","54347c625b10711400c6c301","5434918d0ef9c008001651ff","5434b72c008ec22200d86ae7","5435990c495d5d0800f3a510","5b6af3dffc81e4000383db74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"category":{"_id":"5b6af3dffc81e4000383db74","project":"543469460ef9c00800164f0e","version":"54346a2a0ef9c00800164f28","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-08-08T13:45:03.252Z","from_sync":false,"order":3,"slug":"scim","title":"SCIM"},"user":"58c99a66fa6c4b0f0031a912","__v":2,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-29T15:43:03.866Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"patch","examples":{"codes":[]},"results":{"codes":[{"name":"","code":"{\n    \"active\": true,\n    \"emails\": [\n        {\n            \"display\": null,\n            \"primary\": false,\n            \"type\": null,\n            \"value\": \"test:::at:::example.com\"\n        }\n    ],\n    \"urn:ietf:params:scim:schemas:extension:formstack:2.0:User\": {\n        \"canCreateForms\": true,\n        \"canCreateThemes\": true,\n        \"folders\": [],\n        \"forms\": [\n            {\n                \"id\": \"2413522\",\n                \"meta\": {\n                    \"created\": \"2016-10-06 11:46:24\",\n                    \"lastModified\": null,\n                    \"location\": \"https://www.formstack.com/scim/Forms/2413522\",\n                    \"resourceType\": \"Form\"\n                },\n                \"name\": \"Test Form\",\n                \"permissions\": {\n                    \"canEditSubmissions\": true,\n                    \"canViewSubmissions\": true,\n                    \"isAdmin\": false\n                },\n                \"schemas\": [\n                    \"urn:ietf:params:scim:schemas:formstack:2.0:Form\"\n                ]\n            }\n        ],\n        \"isAdmin\": false,\n        \"isParticipantUser\": false,\n        \"mustLoginUsingSso\": false\n    },\n    \"groups\": [],\n    \"id\": \"49\",\n    \"meta\": {\n        \"created\": \"2018-08-17 18:09:34\",\n        \"lastModified\": \"2018-10-23 10:08:09\",\n        \"location\": \"https://www.formstack.com/scim/Users/49\",\n        \"resourceType\": \"User\"\n    },\n    \"name\": {\n        \"familyName\": \"TestLast\",\n        \"formatted\": \"TestFirst TestLast\",\n        \"givenName\": \"TestFirst\"\n    },\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\",\n        \"urn:ietf:params:scim:schemas:extension:formstack:2.0:User\"\n    ],\n    \"timezone\": \"US/Eastern\",\n    \"userName\": \"test@example.com\"\n}\n","language":"json","status":200},{"name":"","code":"{\n    \"detail\": \"Not Found\",\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:Error\"\n    ],\n    \"scimType\": null,\n    \"status\": 404\n}","language":"json","status":404}]},"settings":"5b6af66fa7e2580003fb7cbd","auth":"required","params":[{"_id":"5b6c4fbaa59fbe00031d6d84","ref":"","in":"path","required":false,"desc":"Group ID.","default":"","type":"int","name":"id"},{"_id":"5b6c4fbaa59fbe00031d6d83","ref":"","in":"body","required":false,"desc":"Array of PatchOp objects. The 'ops' property can be 'read' 'write' or 'none'. The 'path' property can be 'forms' or 'folders'. The 'value' property is an array of MultiValueAttribute objects with the form or folder ID as the value. Such as: [{\"op\":\"read\",\"path\":\"forms\",\"value\":[{\"value\":46}]},{\"op\":\"write\",\"path\":\"forms\",\"value\":[{\"value\":47}]},{\"op\":\"admin\",\"path\":\"forms\",\"value\":[{\"value\":48}]}]","default":"[{\"op\":\"read\",\"path\":\"forms\",\"value\":[{\"value\":46}]},{\"op\":\"write\",\"path\":\"forms\",\"value\":[{\"value\":47}]},{\"op\":\"admin\",\"path\":\"forms\",\"value\":[{\"value\":48}]}]","type":"object","name":"Operations"}],"url":"/Users/:id"},"isReference":false,"order":8,"body":"The request is a [PatchOperations](models#section-patchoperations) object, which includes an array of [PatchOperation](models#section-patchoperation) objects. The only supported `op`s are `add` and `remove` currently for adding and removing users from the group.\n\nThe response is a [Group](models#section-group) object.","excerpt":"","slug":"usersid-1","type":"endpoint","title":"/Users/:id"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
integer
Group ID.

Body Params

Operations:
object[{"op":"read","path":"forms","value":[{"value":46}]},{"op":"write","path":"forms","value":[{"value":47}]},{"op":"admin","path":"forms","value":[{"value":48}]}]
Array of PatchOp objects. The 'ops' property can be 'read' 'write' or 'none'. The 'path' property can be 'forms' or 'folders'. The 'value' property is an array of MultiValueAttribute objects with the form or folder ID as the value. Such as: [{"op":"read","path":"forms","value":[{"value":46}]},{"op":"write","path":"forms","value":[{"value":47}]},{"op":"admin","path":"forms","value":[{"value":48}]}]

Result Format


Documentation

The request is a [PatchOperations](models#section-patchoperations) object, which includes an array of [PatchOperation](models#section-patchoperation) objects. The only supported `op`s are `add` and `remove` currently for adding and removing users from the group. The response is a [Group](models#section-group) object.

User Information

Try It Out

patch
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}