Skip to main content
Scoutworks runs a SCIM 2.0 server (RFC 7643 and RFC 7644) for each identity connection. Entra ID and Google set themselves up from the setup guides; this page is for checking their traffic, or for pointing another SCIM client at Scoutworks.

Base URL and authentication

Every request carries the connection’s SCIM token as a bearer token:
  • 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.
Requests may be sent as 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

A PATCH 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: Replace works as replace.
  • Booleans as strings: "active": "False".
  • No path: a replace or add whose value is 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. An eq filter that matches nothing adds the entry.
  • Extension paths with a colon or a dot: urn:…:enterprise:2.0:User:manager or urn:…:enterprise:2.0:User.manager.
  • Group member removal as a remove on members with a value array (Entra without aadOptscim062020), or as a path members[value eq "…"] (with it).
  • operations in lower case, as well as Operations.
Removing something that is already gone is not an error. Changing a read-only attribute (id, meta, groups) is 400 with scimType mutability. Suspending a person:

Errors

Every error uses the SCIM Error schema, with status 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: false suspends their volunteer roles in the groups this connection manages. It never closes their account or touches their other groups.
  • DELETE removes those roles. The record is kept for 30 days, so a POST with the same externalId within 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.