SCIM provisioning
SCIM root: https://api.syauth.com/e/v1/scim/v2. Resource paths have no trailing slash. First create a workspace SCIM token, configure it in your identity provider, read the capabilities/schemas, then provision users before assigning group members. Management uses developer credentials; protocol requests use the SCIM Bearer token without a dashboard session. Send application/scim+json or application/json for writes; responses use application/scim+json. Returned resource locations retain the /e/v1 API prefix. See SCIM setup and compatibility limits.
API conventions · All endpoints · Schemas
/e/v1/developer/scim/tokens/
List or issue workspace-scoped SCIM credentials.
Authentication: X-Developer-Token with the scope shown below, an active SyAuth plan, and access to the resource. Dashboard requests use your signed-in account.
GET
Header: X-Developer-Token: YOUR_DEVELOPER_TOKEN. The token must have the read_scim scope. A token that only has write_scim is rejected here: read and write calls use different scopes, so create a token with the scope this call needs.
Required query workspace_id UUID.
Request fields (combine with the requirements and schema above):
| Location | Field | Fallback when absent |
|---|---|---|
| query | workspace_id | not supplied |
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"results": [
{
"id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "EXAMPLE_WORKSPACE_ID",
"name": "Example",
"created_by": "EXAMPLE_CREATED_BY",
"created_at": "EXAMPLE_CREATED_AT",
"last_used_at": "EXAMPLE_LAST_USED_AT",
"expires_at": "EXAMPLE_EXPIRES_AT",
"revoked_at": "EXAMPLE_REVOKED_AT",
"is_live": true
}
]
}
400 — json
{
"error": "workspace_id is required"
}
403 — json
{
"error": "Forbidden"
}
POST
Header: X-Developer-Token: YOUR_DEVELOPER_TOKEN. The token must have the write_scim scope. A token that only has read_scim is rejected here: read and write calls use different scopes, so create a token with the scope this call needs.
Required JSON workspace_id UUID (workspace alias accepted); optional name string, expires_in_days integer from 1 to 36500 or null for no expiry. Returns metadata plus the plaintext token once. Store it at creation and use it as the Bearer token for the SCIM resource requests below; a developer access token does not replace it.
Example request body:
{
"workspace_id": "11111111-1111-4111-8111-111111111111",
"name": "Development IdP",
"expires_in_days": 30
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
201 — json
{
"id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "EXAMPLE_WORKSPACE_ID",
"name": "Example",
"created_by": "EXAMPLE_CREATED_BY",
"created_at": "EXAMPLE_CREATED_AT",
"last_used_at": "EXAMPLE_LAST_USED_AT",
"expires_at": "EXAMPLE_EXPIRES_AT",
"revoked_at": "EXAMPLE_REVOKED_AT",
"is_live": true
}
403 — json
{
"error": "Forbidden"
}
/e/v1/developer/scim/tokens/{token_id}/
Revoke a workspace SCIM token.
Authentication: X-Developer-Token with the scope shown below, an active SyAuth plan, and access to the resource. Dashboard requests use your signed-in account.
DELETE
Header: X-Developer-Token: YOUR_DEVELOPER_TOKEN. The token must have the write_scim scope. A token that only has read_scim is rejected here: read and write calls use different scopes, so create a token with the scope this call needs.
No body. Requires access to the token’s workspace; returns 204.
Path parameters: token_id (uuid, required).
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
204 — json
No response body.
403 — json
{
"error": "Forbidden"
}
404 — json
{
"error": "Token not found"
}
/e/v1/scim/v2/Users
Provision or list SCIM users in the token’s workspace.
Send Authorization: Bearer SCIM_TOKEN from SCIM token creation. The token must be live, its workspace active, and the workspace owner must have an active plan. Use Content-Type: application/scim+json or application/json for writes; responses use application/scim+json.
GET
Optional filter, startIndex (1-based, default 1), count (default 100, max 200). Returns SCIM ListResponse. Unsupported filter paths/operators return SCIM errors.
Request fields (combine with the requirements and schema above):
| Location | Field | Fallback when absent |
|---|---|---|
| query | filter | not supplied |
| query | count | 100 |
| query | startIndex | 1 |
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 0,
"startIndex": 1,
"itemsPerPage": 0,
"Resources": []
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "EXAMPLE_VALUE"
}
POST
Required userName containing a valid email address. Optional name.givenName/name.familyName, externalId string and active boolean (default true). An optional emails array is validated, but userName determines the stored email; the primary email entry does not override it. externalId is persisted separately from the SyAuth resource id. Unknown attributes are not persisted; passwords are not provisioned. The created user has verified email and an unusable password; use a supported sign-in flow or explicitly set a password through password recovery.
Example request body:
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "[email protected]",
"name": {
"givenName": "Alex",
"familyName": "Developer"
},
"active": true,
"externalId": "ID_FROM_YOUR_IDENTITY_PROVIDER"
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
201 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"externalId": "EXAMPLE_EXTERNALID",
"userName": "EXAMPLE_USERNAME",
"name": {
"givenName": "EXAMPLE_GIVENNAME",
"familyName": "EXAMPLE_FAMILYNAME",
"formatted": "EXAMPLE_FORMATTED"
},
"emails": "EXAMPLE_EMAILS",
"active": "EXAMPLE_ACTIVE",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "userName is required"
}
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "Could not create user."
}
409 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "409",
"detail": "A user with that userName already exists."
}
/e/v1/scim/v2/Users/{user_id}
Read, replace, patch or remove a SCIM user.
Send Authorization: Bearer SCIM_TOKEN for the workspace containing this resource.
GET
Path ID must belong to the SCIM token’s workspace.
Path parameters: user_id (uuid, required).
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"externalId": "EXAMPLE_EXTERNALID",
"userName": "EXAMPLE_USERNAME",
"name": {
"givenName": "EXAMPLE_GIVENNAME",
"familyName": "EXAMPLE_FAMILYNAME",
"formatted": "EXAMPLE_FORMATTED"
},
"emails": "EXAMPLE_EMAILS",
"active": "EXAMPLE_ACTIVE",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "User not found"
}
PUT
Required userName containing a valid email address. Replacement clears omitted names and externalId; omitted active retains the existing value. Use PATCH to update selected fields without clearing these values.
Path parameters: user_id (uuid, required).
Example request body:
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "[email protected]",
"name": {
"givenName": "Alex",
"familyName": "Developer"
},
"active": true
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"externalId": "EXAMPLE_EXTERNALID",
"userName": "EXAMPLE_USERNAME",
"name": {
"givenName": "EXAMPLE_GIVENNAME",
"familyName": "EXAMPLE_FAMILYNAME",
"formatted": "EXAMPLE_FORMATTED"
},
"emails": "EXAMPLE_EMAILS",
"active": "EXAMPLE_ACTIVE",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "userName is required"
}
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "User not found"
}
409 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "409",
"detail": "userName conflicts with an existing user."
}
PATCH
Required JSON nonempty Operations array. Each operation uses op (add/replace/remove), path and value as appropriate. Supported paths: userName, name.givenName, name.familyName, active and externalId; add/replace can also supply an object without a path. userName cannot be removed. Unknown paths return invalidPath.
Path parameters: user_id (uuid, required).
Example request body:
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "replace",
"path": "active",
"value": false
}
]
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"externalId": "EXAMPLE_EXTERNALID",
"userName": "EXAMPLE_USERNAME",
"name": {
"givenName": "EXAMPLE_GIVENNAME",
"familyName": "EXAMPLE_FAMILYNAME",
"formatted": "EXAMPLE_FORMATTED"
},
"emails": "EXAMPLE_EMAILS",
"active": "EXAMPLE_ACTIVE",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "EXAMPLE_VALUE"
}
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "User not found"
}
409 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "409",
"detail": "Conflict after patch."
}
DELETE
No body. Soft-deletes the user, deactivates it and removes group memberships. The old resource ID is no longer returned by SCIM reads or lists. The original userName is released for provisioning a new resource; PATCH cannot reactivate the deleted SCIM resource.
Path parameters: user_id (uuid, required).
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
204 — json
No response body.
204 — text/XML
No response body.
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "User not found"
}
/e/v1/scim/v2/Groups
Provision or list SCIM groups in the token’s workspace.
Send Authorization: Bearer SCIM_TOKEN from SCIM token creation. The token must be live, its workspace active, and the workspace owner must have an active plan. Use Content-Type: application/scim+json or application/json for writes; responses use application/scim+json.
GET
Optional filter, startIndex (1-based, default 1), count (default 100, max 200). Returns SCIM ListResponse. Unsupported filter paths/operators return SCIM errors.
Request fields (combine with the requirements and schema above):
| Location | Field | Fallback when absent |
|---|---|---|
| query | filter | not supplied |
| query | count | 100 |
| query | startIndex | 1 |
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 0,
"startIndex": 1,
"itemsPerPage": 0,
"Resources": []
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "EXAMPLE_VALUE"
}
POST
Required displayName string; optional externalId string and members array of objects with value set to a SyAuth user UUID. Create or find the users first in this token's workspace. externalId is persisted separately from the resource id.
Example request body:
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"displayName": "Engineering",
"members": [
{
"value": "11111111-1111-4111-8111-111111111111"
}
],
"externalId": "ID_FROM_YOUR_IDENTITY_PROVIDER"
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
201 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"displayName": "EXAMPLE_DISPLAYNAME",
"externalId": "EXAMPLE_EXTERNALID",
"members": "EXAMPLE_MEMBERS",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "displayName is required"
}
409 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "409",
"detail": "A group with that displayName already exists."
}
/e/v1/scim/v2/Groups/{group_id}
Read, replace, patch or remove a SCIM group.
Send Authorization: Bearer SCIM_TOKEN for the workspace containing this resource.
GET
Path ID must belong to the SCIM token’s workspace.
Path parameters: group_id (uuid, required).
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"displayName": "EXAMPLE_DISPLAYNAME",
"externalId": "EXAMPLE_EXTERNALID",
"members": "EXAMPLE_MEMBERS",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "Group not found"
}
PUT
Required displayName. Replacement clears omitted externalId and replaces memberships using members; omitted members removes existing membership. Use PATCH for changes that should preserve other fields.
Path parameters: group_id (uuid, required).
Example request body:
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"displayName": "Engineering",
"members": [
{
"value": "11111111-1111-4111-8111-111111111111"
}
]
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"displayName": "EXAMPLE_DISPLAYNAME",
"externalId": "EXAMPLE_EXTERNALID",
"members": "EXAMPLE_MEMBERS",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "displayName is required"
}
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "Group not found"
}
PATCH
Required JSON nonempty Operations array. Supported paths include displayName, externalId, members and members[value eq "USER_UUID"] for removal. Add/replace require value; add/replace can also supply an object without a path. All member IDs must resolve to users in this token's workspace. Unknown paths return invalidPath.
Path parameters: group_id (uuid, required).
Example request body:
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "replace",
"path": "displayName",
"value": "Platform"
}
]
}
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"EXAMPLE_SCHEMAS"
],
"id": "11111111-1111-4111-8111-111111111111",
"displayName": "EXAMPLE_DISPLAYNAME",
"externalId": "EXAMPLE_EXTERNALID",
"members": "EXAMPLE_MEMBERS",
"meta": "EXAMPLE_META"
}
204 — text/XML
No response body.
400 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "400",
"detail": "EXAMPLE_VALUE"
}
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "Group not found"
}
DELETE
Deletes group and its memberships.
Path parameters: group_id (uuid, required).
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
204 — json
No response body.
204 — text/XML
No response body.
404 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404",
"detail": "Group not found"
}
/e/v1/scim/v2/ServiceProviderConfig
Read SCIM capabilities or schemas.
GET
No body. SCIM Bearer token required; not anonymous discovery. Bulk, sorting, ETags and password changes are advertised as unsupported.
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
JSON response varies with the request. See the operation requirements and linked schema; validation errors may be keyed by field name.
204 — text/XML
No response body.
/e/v1/scim/v2/ResourceTypes
Read SCIM capabilities or schemas.
GET
No body. SCIM Bearer token required; not anonymous discovery. Bulk, sorting, ETags and password changes are advertised as unsupported.
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 0,
"startIndex": 1,
"itemsPerPage": 0,
"Resources": []
}
204 — text/XML
No response body.
/e/v1/scim/v2/Schemas
Read SCIM capabilities or schemas.
GET
No body. SCIM Bearer token required; not anonymous discovery. Bulk, sorting, ETags and password changes are advertised as unsupported.
Success and error response examples
Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.
200 — json
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 0,
"startIndex": 1,
"itemsPerPage": 0,
"Resources": []
}
204 — text/XML
No response body.