Updates an existing user resource, overwriting all values for a user even if an attribute is empty or not provided.
If an attribute that had been set previously is left blank during a PUT operation, the new value will be blank in accordance with the data type of the attribute and the storage provider.
Deactivated users can be re-enabled by setting the active attribute to true. The value of the
Idempotency-Key | string <= 255 characters Specify a unique idempotency key if you want to perform an idempotent POST or PATCH request. Do not use this header in other request types. With this header specified, the Zuora server can identify subsequent retries of the same request using this value, which prevents the same operation from being performed multiple times by accident. |
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization | string The value is in the |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
Zuora-Entity-Ids | string An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header. |
OK
Unauthorized
Forbidden
Not Found
{- "schemas": [
- "urn:zuora:scim:schemas:1.0:UserExtension",
- "urn:ietf:params:scim:schemas:core:2.0:User"
], - "id": "4ae68f98-2762-4001-b95c-34569b413e8e",
- "externalId": "Amy+test5",
- "meta": {
- "created": "2023-01-04T18:48:30.180Z",
- "resourceType": "User",
}, - "userName": "Amy+test6",
- "name": {
- "formatted": "Amy Lawrence",
- "familyName": "Amy",
- "givenName": "Lawrence"
}, - "displayName": "Amy Lawrence",
- "preferredLanguage": "en",
- "locale": "en-US",
- "active": true,
- "emails": [
- {
- "value": "Amy+test5-updated@zuora.com"
}
], - "groups": [
- {
- "value": "0fb99576-2154-4d96-a6cb-384dd430f45f",
- "display": "Amy Test"
}
], - "roles": [
- {
- "value": "USER",
- "display": "USER"
}
], - "urn:zuora:scim:schemas:1.0:UserExtension": {
- "schemas": [
- "urn:zuora:scim:schemas:1.0:UserExtension"
], - "organizationId": "ec141dc2-901e-4813-a25d-ef480cff1e26",
- "status": "ACTIVE",
- "ssoEnabled": true,
- "region": "EU"
}
}
{- "id": "123456",
- "userName": "johndoe",
- "displayName": "John Doe",
- "active": true,
- "emails": [
- {
- "value": "johndoe@example.com",
- "primary": true
}
], - "meta": {
- "resourceType": "User",
- "created": "2023-01-01T12:00:00Z",
- "lastModified": "2023-01-01T12:00:00Z"
}, - "schemas": [
- "urn:zuora:scim:schemas:1.0:UserExtension",
- "urn:ietf:params:scim:schemas:core:2.0:User"
], - "totalResults": 1,
- "resources": [
- {
- "schemas": [
- "urn:zuora:scim:schemas:1.0:UserExtension",
- "urn:ietf:params:scim:schemas:core:2.0:User"
], - "id": "4ae68f98-2762-4001-b95c-34569b413e8e",
- "externalId": "Amy+test6",
- "meta": {
- "created": "2024-10-03T10:22:09.727Z",
- "resourceType": "User",
}, - "userName": "assingh151@zuora.com",
- "name": {
- "formatted": "Amy Lawrence",
- "familyName": "Amy",
- "givenName": "Lawrence"
}, - "displayName": "Amy Lawrence",
- "preferredLanguage": "en",
- "locale": "en-US",
- "active": true,
- "emails": [
- {
- "value": "Amy+test5-updated@zuora.com",
- "display": "Amy+test5-updated@zuora.com",
- "type": "work",
- "primary": true
}
], - "roles": [
- {
- "value": "USER",
- "display": "USER"
}
], - "urn:zuora:scim:schemas:1.0:UserExtension": {
- "schemas": [
- "urn:zuora:scim:schemas:1.0:UserExtension"
], - "organizationId": "5619df2e-fa8c-47fa-9c1e-16ab5af4936e",
- "status": "ACTIVE",
- "ssoEnabled": true,
- "region": "EU"
}
}
], - "startIndex": 1,
- "itemsPerPage": 1
}