Base URL and authentication
- A token reaches only its own connection, and only
/scim/v2. A Scoutworks API key cannot call SCIM, and a SCIM token cannot call the API. - The token is shown once, when it is made. Scoutworks keeps only a keyed hash of it and its last four characters.
- Rotate token makes a new one. The old one keeps working for 7 days, so you can paste the new one into your identity provider without a gap. Revoke stops a token at once.
- Bulk, sorting, password changes and OAuth client credentials are not offered: the bearer token is the only way in.
application/scim+json or application/json, up to 1 MB. Every response is application/scim+json. An attribute with no value is left out of a response, never sent as null.
Endpoints
id is the ID Scoutworks gives each user and group. It is never the person’s Scoutworks account ID.
ETags. Every user and group has a version: meta.version and the ETag header are W/"<n>". Send If-Match on a PUT, PATCH or DELETE to make it conditional: a different version is 412. Without If-Match the write goes ahead.
User attributes
Accepted and ignored: every other attribute, for example
name.formatted, nickName, preferredLanguage, locale, timezone, addresses, password, and the enterprise manager, department, organization and costCenter. Scoutworks does not store them, and sending them is not an error.
A user’s name and email reach their Scoutworks account only when the account belongs to this directory: it was created by this connection, or its address is on your verified domain, and the person is in no group or district outside this connection’s reach. Otherwise the directory’s values are kept on the connection and shown, but the person’s own profile is left alone.
userName and externalId cannot both change in one request: a request that changes both is 400 with scimType mutability. Change one at a time.
Group attributes
A group grants nothing until an admin maps it to a role in Scoutworks.
Filters
GET /Users and GET /Groups take filter, as RFC 7644 § 3.4.2.2 defines it:
userName, emails.value and displayName compare without regard to case; externalId and id with it. Any other attribute or operator (ew, gt, ge, lt, le), or a filter longer than 2,048 characters, is 400 with scimType invalidFilter.
A filter that matches nobody is 200 with totalResults: 0 and an empty Resources, never 404. Entra’s connection test relies on it:
PATCH
APATCH body is a PatchOp with an Operations array of add, replace and remove, with or without a path. Scoutworks applies the operations, then writes only what changed, so a replayed PATCH changes nothing and returns 200.
It accepts the forms Entra and Google really send:
- Operation names in any case:
Replaceworks asreplace. - Booleans as strings:
"active": "False". - No path: a
replaceoraddwhosevalueis an object of attributes, including dotted names (name.givenName) and extension names (urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber). - Filtered paths:
emails[type eq "work"].value. Aneqfilter that matches nothing adds the entry. - Extension paths with a colon or a dot:
urn:…:enterprise:2.0:User:managerorurn:…:enterprise:2.0:User.manager. - Group member removal as a
removeonmemberswith a value array (Entra withoutaadOptscim062020), or as a pathmembers[value eq "…"](with it). operationsin lower case, as well asOperations.
id, meta, groups) is 400 with scimType mutability.
Suspending a person:
Errors
Every error uses the SCIM Error schema, withstatus as a string and a scimType where one applies:
Entra and Google both honour
Retry-After on 429 and 503, and both retry a 503 rather than mark people deleted. That is why a paused connection answers 503: nobody loses access while it is paused, and the directory catches up when it is resumed.
Users and memberships
A SCIM user is a person’s access in your organisation, not their Scoutworks account. One account can be in several groups and districts, each managed by its own connection, and can also be a parent.active: falsesuspends their volunteer roles in the groups this connection manages. It never closes their account or touches their other groups.DELETEremoves those roles. The record is kept for 30 days, so aPOSTwith the sameexternalIdwithin that time restores their access and history.- Access itself comes from group mapping: the role, sections and job flags each mapped group grants, combined. A user in no mapped group gets the connection’s default access, which is “no access” unless an admin sets one.