{ "opencollection": "1.0.0", "info": { "name": "TeamOhana Public Discovery SCIM API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "SCIM", "type": "folder" }, "items": [ { "info": { "name": "Fetch server capabilities", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/:domain/ServiceProviderConfig", "params": [ { "name": "domain", "value": "", "type": "path" } ] }, "docs": "This API is used to figure out all the SCIM features supported by us. Currently all the features except changePassword are unsupported and the supported authentication scheme is basic auth." }, { "info": { "name": "Fetch a user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/:domain/Users/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "domain", "value": "", "type": "path" } ] }, "docs": "Given an id return all the fields stored by TeamOhana. As per SCIM specification passwords will not be returned." }, { "info": { "name": "Update a user", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/:domain/Users/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "domain", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Given an id and a body update the data in TeamOhana and return the update payload. As per SCIM specification passwords will not be returned. Passwords can still be updated since they have a writeOnly mutability. This API can be used to activate and deactivate a user." }, { "info": { "name": "Delete a user", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/:domain/Users/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "domain", "value": "", "type": "path" } ] }, "docs": "Given an id delete the user. As per SCIM specification return an empty body on successful deletion." }, { "info": { "name": "Fetch all the users in TeamOhana.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/:domain/Users", "params": [ { "name": "domain", "value": "", "type": "path" }, { "name": "count", "value": "", "type": "query" }, { "name": "startIndex", "value": "", "type": "query" }, { "name": "filter", "value": "", "type": "query" } ] }, "docs": "Get a list of all the users that exists in TeamOhana." }, { "info": { "name": "Create a user", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/:domain/Users", "params": [ { "name": "domain", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Given a body create the user in TeamOhana and return it to the user. If the password is not provided during creation a randomly generated password will be set for the user. The username should be an email id OR the emails field should contain at least one email with type work. The API will fail to create the user otherwise. By default the user is also provisioned in Auth0; set `create-in-auth0` to `false` in the body when the user already exists in Auth0 (e.g. via SSO) — in that case `externalId" } ] } ], "bundled": true }