What does a SCIM User resource look like?
A SCIM User is the JSON object a SCIM service provider keeps for one user account and returns to a provisioning client. It carries the attributes common to every SCIM resource, id, externalId and meta, and the attributes of the core User schema, such as userName (RFC 7643 Sections 3.1 and 4.1).
SCIM provides a resource type for "User" resources. The core schema for "User" is identified using the following schema URI: "urn:ietf:params:scim:schemas:core:2.0:User".
SCIM UserJSON document
SCIM User from the deployed sandbox
Issued Commit 00bac3f
Captured from the deployed ProtocolSoup at the commit shown. The message is shown exactly as it was sent.
{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"id":"e73dc1c4-a3aa-4a42-969e-e69326a15cf3","externalId":"ecc5bd3fb35fec8c","meta":{"resourceType":"User","created":"2026-12-06T13:44:28.368922961Z","lastModified":"2026-12-06T13:44:28.368922961Z","location":"https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3","version":"W/\"1\""},"userName":"[email protected]","name":{"formatted":"Conformance Capture","familyName":"Capture","givenName":"Conformance"},"displayName":"Conformance Capture","active":true,"emails":[{"value":"[email protected]","type":"work","primary":true}]}
Taken from the body, in the response of exchange 2 below.
Every field, with the specification text that defines it
JSON document, indented
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"id": "e73dc1c4-a3aa-4a42-969e-e69326a15cf3",
"externalId": "ecc5bd3fb35fec8c",
"meta": {
"resourceType": "User",
"created": "2026-12-06T13:44:28.368922961Z",
"lastModified": "2026-12-06T13:44:28.368922961Z",
"location": "https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3",
"version": "W/\"1\""
},
"userName": "[email protected]",
"name": {
"formatted": "Conformance Capture",
"familyName": "Capture",
"givenName": "Conformance"
},
"displayName": "Conformance Capture",
"active": true,
"emails": [
{
"value": "[email protected]",
"type": "work",
"primary": true
}
]
}
schemas["urn:ietf:params:scim:schemas:core:2.0:User"]The "schemas" attribute is a REQUIRED attribute and is an array of Strings containing URIs that are used to indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure. This attribute may be used by parsers to define the attributes present in the JSON structure that is the body to an HTTP request or response. Each String value must be a unique URI. All representations of SCIM schemas MUST include a non-empty array with value(s) of the URIs supported by that representation. The "schemas" attribute for a resource MUST only contain values defined as "schema" and "schemaExtensions" for the resource's defined "resourceType". Duplicate values MUST NOT be included. Value order is not specified and MUST NOT impact behavior.
A User with no extension names one schema, the core User schema.
id"e73dc1c4-a3aa-4a42-969e-e69326a15cf3"id A unique identifier for a SCIM resource as defined by the service provider. Each representation of the resource MUST include a non-empty "id" value. This identifier MUST be unique across the SCIM service provider's entire set of resources. It MUST be a stable, non-reassignable identifier that does not change when the same resource is returned in subsequent requests. The value of the "id" attribute is always issued by the service provider and MUST NOT be specified by the client. The string "bulkId" is a reserved keyword and MUST NOT be used within any unique identifier value. The attribute characteristics are "caseExact" as "true", a mutability of "readOnly", and a "returned" characteristic of "always". See Section 9 for additional considerations regarding privacy.
The service provider issued this value when it created the user. A client that sends an id in the request has it ignored.
externalId"ecc5bd3fb35fec8c"externalId A String that is an identifier for the resource as defined by the provisioning client. The "externalId" may simplify identification of a resource between the provisioning client and the service provider by allowing the client to use a filter to locate the resource with an identifier from the provisioning domain, obviating the need to store a local mapping between the provisioning domain's identifier of the resource and the identifier used by the service provider. Each resource MAY include a non-empty "externalId" value. The value of the "externalId" attribute is always issued by the provisioning client and MUST NOT be specified by the service provider. The service provider MUST always interpret the externalId as scoped to the provisioning domain. While the server does not enforce uniqueness, it is assumed that the value's uniqueness is controlled by the client setting the value. See Section 9 for additional considerations regarding privacy. This attribute has "caseExact" as "true" and a mutability of "readWrite". This attribute is OPTIONAL.
The value is the one the client sent in the request that created the user, which is among the exchanges below.
meta{"resourceType":"User","created":"2026-12-06T13:44:28.368922961Z","lastModified":"2026-12-06T13:44:28.368922961Z","location":"https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3","version":"W/\"1\""}meta A complex attribute containing resource metadata. All "meta" sub-attributes are assigned by the service provider (have a "mutability" of "readOnly"), and all of these sub-attributes have a "returned" characteristic of "default". This attribute SHALL be ignored when provided by clients.
meta.resourceType"User"resourceType The name of the resource type of the resource. This attribute has a mutability of "readOnly" and "caseExact" as "true".
meta.created"2026-12-06T13:44:28.368922961Z"created The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
meta.lastModified"2026-12-06T13:44:28.368922961Z"lastModified The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
The user was not modified after it was created, so the two values are equal.
meta.location"https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3"location The URI of the resource being returned. This value MUST be the same as the "Content-Location" HTTP response header (see Section 3.1.4.2 of [RFC7231]).
This is the URI the client sent the GET request to, and the Content-Location header of the response carries the same value.
meta.version"W/\"1\""version The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive).
The ETag header of the response carries the same value. The JSON text escapes the quotation marks inside it.
userName"[email protected]"userName A service provider's unique identifier for the user, typically used by the user to directly authenticate to the service provider. Often displayed to the user as their unique identifier within the system (as opposed to "id" or "externalId", which are generally opaque and not user-friendly identifiers). Each User MUST include a non-empty userName value. This identifier MUST be unique across the service provider's entire set of Users. This attribute is REQUIRED and is case insensitive.
The user was created by the conformance client for this capture. It is not a real identity.
name{"formatted":"Conformance Capture","familyName":"Capture","givenName":"Conformance"}name The components of the user's name. Service providers MAY return just the full name as a single string in the formatted sub-attribute, or they MAY return just the individual component attributes using the other sub-attributes, or they MAY return both. If both variants are returned, they SHOULD be describing the same name, with the formatted name indicating how the component attributes should be combined.
name.formatted"Conformance Capture"formatted The full name, including all middle names, titles, and suffixes as appropriate, formatted for display (e.g., "Ms. Barbara Jane Jensen, III").
name.familyName"Capture"familyName The family name of the User, or last name in most Western languages (e.g., "Jensen" given the full name "Ms. Barbara Jane Jensen, III").
name.givenName"Conformance"givenName The given name of the User, or first name in most Western languages (e.g., "Barbara" given the full name "Ms. Barbara Jane Jensen, III").
displayName"Conformance Capture"displayName The name of the user, suitable for display to end-users. Each user returned MAY include a non-empty displayName value. The name SHOULD be the full name of the User being described, if known (e.g., "Babs Jensen" or "Ms. Barbara J Jensen, III") but MAY be a username or handle, if that is all that is available (e.g., "bjensen"). The value provided SHOULD be the primary textual label by which this User is normally displayed by the service provider when presenting it to end-users.
activetrueactive A Boolean value indicating the user's administrative status. The definitive meaning of this attribute is determined by the service provider. As a typical example, a value of true implies that the user is able to log in, while a value of false implies that the user's account has been suspended.
emails[{"value":"[email protected]","type":"work","primary":true}]emails Email addresses for the User. The value SHOULD be specified according to [RFC5321]. Service providers SHOULD canonicalize the value according to [RFC5321], e.g., "[email protected]" instead of "[email protected]". The "display" sub-attribute MAY be used to return the canonicalized representation of the email value. The "type" sub-attribute is used to provide a classification meaningful to the (human) user. The user interface should encourage the use of basic values of "work", "home", and "other" and MAY allow additional type values to be used at the discretion of SCIM clients.
How it was verified
Location checked when captured
The capture run checked that this resource is the whole body of the response to a GET of https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3, the URI its own meta.location names, and that the response's Content-Location and ETag headers equal meta.location and meta.version (RFC 7643 Section 3.1). The 201 response that created the resource, in exchange 1 below, named the same URI in its Location header (RFC 7644 Section 3.3). The resource is not signed, so there is no signature to verify. The capture deleted the resource afterwards, so that URI no longer answers with it.
The exchanges that carried it
The conformance client acts as a provisioning client. With an access token for the seeded SCIM client, which grants scim.read and scim.write, it creates a User with POST; the token request is not recorded here. The service provider answers 201 (Created), issues the id and names the User's URI in the Location header and in meta.location. The client then sends a GET to that URI, and the response body is the User on this page. Afterwards the client deletes the User and revokes the access token.
Requests sent by ProtocolSoup’s conformance client.
Every token in these exchanges was revoked, or had expired, before this page published them.
1.POST https://protocolsoup.com/scim/v2/Users201 Created
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
POST /scim/v2/Users HTTP/2.0 Accept: application/scim+json Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiYXQrand0In0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vc2NpbS92MiIsImNsaWVudF9pZCI6InNjaW0tY2xpZW50IiwiY2xpZW50X25hbWUiOiJTQ0lNIENsaWVudCIsImV4cCI6MTc5NjU2ODI2NywiaWF0IjoxNzk2NTY0NjY3LCJpc3MiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyIiwianRpIjoianRpLTEwNDZlMzM5ZmMwYzE2NzIiLCJuYmYiOjE3OTY1NjQ2NjcsInNjb3BlIjoic2NpbS5yZWFkIHNjaW0ud3JpdGUiLCJzdWIiOiJzY2ltLWNsaWVudCJ9.b7gJ_pf23apei6E6PCf_TNCK_BaqnQAegbEN40tl1y7Gp7Eks8sxhx321NI2iGD5AJa-DTXRp4X-UXtX6jwEVF_ojWLrXFkc7an25iE8u7JRZ5yi4FKTMmWVmCQtS7Y2CAeEKHBOCV4IgXcLlC_5iHJhElVzwxcBiE5-O3C9k8kLng5P2nN1Afa-lfa5HS33ti3sdBCYKO5WC6nPdFaQLRHtYGthPe-ICKZAJDwa-cNP0ih5ekfZAYi-KryU_se268J1A6FO064RHOoy3P_dG8rpTtxGJxy0DMhIrkHy2NhM4yLfT79BPuBTupUM_StwOiPOXiFES-gSultDOP2h-w Content-Length: 379 Content-Type: application/scim+json Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1 {"active":true,"displayName":"Conformance Capture","emails":[{"primary":true,"type":"work","value":"[email protected]"}],"externalId":"ecc5bd3fb35fec8c","name":{"familyName":"Capture","formatted":"Conformance Capture","givenName":"Conformance"},"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"userName":"[email protected]"}Response
HTTP/2.0 201 Created Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb9b89a7d3cdb-MSP Content-Length: 655 Content-Location: https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3 Content-Type: application/scim+json Date: Sun, 06 Dec 2026 13:44:28 GMT Etag: W/"1" Fly-Request-Id: 01M95SJKVBCSBF5R6CE2CYQD5G-ord Location: https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3 Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=MFPDVEBspgicqRIl3xvyLfZh7SWs8swEK5%2Fc4p%2Fjn4lC8Um4p3klPLuyZI%2FgaUdzgDRUIgwxo2yeum1ujOgyPXXzMdbAATHlRU48ndX0br0d6%2FtYrx1dzpOnyagXCXwVH3w%3D"}]} Server: cloudflare Vary: Origin Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"id":"e73dc1c4-a3aa-4a42-969e-e69326a15cf3","externalId":"ecc5bd3fb35fec8c","meta":{"resourceType":"User","created":"2026-12-06T13:44:28.368922961Z","lastModified":"2026-12-06T13:44:28.368922961Z","location":"https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3","version":"W/\"1\""},"userName":"[email protected]","name":{"formatted":"Conformance Capture","familyName":"Capture","givenName":"Conformance"},"displayName":"Conformance Capture","active":true,"emails":[{"value":"[email protected]","type":"work","primary":true}]}2.GET https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3 HTTP/2.0 Accept: application/scim+json Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiYXQrand0In0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vc2NpbS92MiIsImNsaWVudF9pZCI6InNjaW0tY2xpZW50IiwiY2xpZW50X25hbWUiOiJTQ0lNIENsaWVudCIsImV4cCI6MTc5NjU2ODI2NywiaWF0IjoxNzk2NTY0NjY3LCJpc3MiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyIiwianRpIjoianRpLTEwNDZlMzM5ZmMwYzE2NzIiLCJuYmYiOjE3OTY1NjQ2NjcsInNjb3BlIjoic2NpbS5yZWFkIHNjaW0ud3JpdGUiLCJzdWIiOiJzY2ltLWNsaWVudCJ9.b7gJ_pf23apei6E6PCf_TNCK_BaqnQAegbEN40tl1y7Gp7Eks8sxhx321NI2iGD5AJa-DTXRp4X-UXtX6jwEVF_ojWLrXFkc7an25iE8u7JRZ5yi4FKTMmWVmCQtS7Y2CAeEKHBOCV4IgXcLlC_5iHJhElVzwxcBiE5-O3C9k8kLng5P2nN1Afa-lfa5HS33ti3sdBCYKO5WC6nPdFaQLRHtYGthPe-ICKZAJDwa-cNP0ih5ekfZAYi-KryU_se268J1A6FO064RHOoy3P_dG8rpTtxGJxy0DMhIrkHy2NhM4yLfT79BPuBTupUM_StwOiPOXiFES-gSultDOP2h-w Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb9beda6e3cdb-MSP Content-Length: 655 Content-Location: https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3 Content-Type: application/scim+json Date: Sun, 06 Dec 2026 13:44:29 GMT Etag: W/"1" Fly-Request-Id: 01M95SJMTMVWSAVB4C8XEDBH63-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=RdgLLxw4EcAl56ewhd5e2AiQRJCKquZJ2F%2BEGq3AQvoE38bRNwasaUQcNijABOs9I%2Fei9ITC2thgwME5Xw3Bi4sug8z8S%2BFIPb%2FezqiGzUVkkpCrsW%2BSiqR%2BwUjfXhJW2T0%3D"}]} Server: cloudflare Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"id":"e73dc1c4-a3aa-4a42-969e-e69326a15cf3","externalId":"ecc5bd3fb35fec8c","meta":{"resourceType":"User","created":"2026-12-06T13:44:28.368922961Z","lastModified":"2026-12-06T13:44:28.368922961Z","location":"https://protocolsoup.com/scim/v2/Users/e73dc1c4-a3aa-4a42-969e-e69326a15cf3","version":"W/\"1\""},"userName":"[email protected]","name":{"formatted":"Conformance Capture","familyName":"Capture","givenName":"Conformance"},"displayName":"Conformance Capture","active":true,"emails":[{"value":"[email protected]","type":"work","primary":true}]}
Run it live
Looking Glass runs the flow that produces this message against the same server and decodes it as it happens.
Open the flow in Looking Glass