Terminate or reinstate a user
patch
/scim/{trialname}/2.0/users
Terminates or reinstates a user.
Request
Supported Media Types
- application/json
- text/json
- application/xml
- text/xml
- application/x-www-form-urlencoded
Path Parameters
-
trialname(required): string
Name of the InForm study.
Nested Schema : UserPatch
Type:
Show Source
object
-
active(required):
boolean
Use value true to re-instate, false to terminate.
-
urn:umt:extension:schema:user(required):
urn:umt:extension:schema:user
-
userName:
string
Unique identifier for the User. Each User must include a non-empty userName value. This identifier must also be unique for a given study.
Nested Schema : UserPatchAttr
Type:
Show Source
object
-
SiteMnemonic(required):
array SiteMnemonic
Sites the user is assigned to. Use the keyword ALL to include all the sites. This field is required when re-activating the user.
Nested Schema : SiteMnemonic
Type:
array
Sites the user is assigned to. Use the keyword ALL to include all the sites. This field is required when re-activating the user.
Show Source
Response
Supported Media Types
- application/json
- text/json
- application/xml
- text/xml
200 Response
OK
Root Schema : schema
Type:
object
500 Response
Root Schema : schema
Type:
Show Source
object
-
error:
string
Default Value:
Error messages defined in the model.
- Unauthorized - An invalid token or study name was provided.
- Username not found - username is incorrect.
- Invalid Site - Invalid site number provided.
- Unknown error - Internal processing error. Please contact support.