Fully replace user
PUT/Users
Fully replace user
Request
Path Parameters
user id
- application/json
- application/scim+json
Body
an existing user
Array [
]
Array [
]
Array [
]
Array [
]
Default value: false
user status
addresses
object[]
Possible values: [work
]
emails
object[]
Possible values: [work
]
external unique resource id defined by provisioning client
unique resource id defined by Elfsquad
name
object
phoneNumbers
object[]
Possible values: [work
, mobile
, other
]
photos
object[]
Possible values: [photo
]
Possible values: [urn:ietf:params:scim:schemas:core:2.0:User
]
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
object
urn:ietf:params:scim:schemas:extension:elfsquad:2.0:User
object
Body
an existing user
Array [
]
Array [
]
Array [
]
Array [
]
Default value: false
user status
addresses
object[]
Possible values: [work
]
emails
object[]
Possible values: [work
]
external unique resource id defined by provisioning client
unique resource id defined by Elfsquad
name
object
phoneNumbers
object[]
Possible values: [work
, mobile
, other
]
photos
object[]
Possible values: [photo
]
Possible values: [urn:ietf:params:scim:schemas:core:2.0:User
]
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
object
urn:ietf:params:scim:schemas:extension:elfsquad:2.0:User
object
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
successfully fully updated a user
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Default value: false
user status
addresses
object[]
Possible values: [work
]
emails
object[]
Possible values: [work
]
external unique resource id defined by provisioning client
unique resource id defined by Elfsquad
name
object
phoneNumbers
object[]
Possible values: [work
, mobile
, other
]
photos
object[]
Possible values: [photo
]
Possible values: [urn:ietf:params:scim:schemas:core:2.0:User
]
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
object
urn:ietf:params:scim:schemas:extension:elfsquad:2.0:User
object
meta
object
resource metadata
resource location URI
Possible values: [User
, Group
]
{
"active": false,
"addresses": [
{
"country": "string",
"locality": "string",
"postalCode": "string",
"region": "string",
"streetAddress": "string",
"type": "work"
}
],
"emails": [
{
"type": "work",
"value": "string"
}
],
"externalId": "string",
"id": "string",
"name": {
"familyName": "string",
"givenName": "string"
},
"phoneNumbers": [
{
"type": "work",
"value": "string"
}
],
"photos": [
{
"type": "photo",
"value": "string"
}
],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
"department": "string"
},
"userName": "string",
"urn:ietf:params:scim:schemas:extension:elfsquad:2.0:User": {
"currencyIso": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"languageIso": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"crmAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"crmContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"meta": {
"created": "2024-06-06T15:30:34.531Z",
"lastModified": "2024-06-06T15:30:34.531Z",
"location": "string",
"resourceType": "User"
}
}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Default value: false
user status
addresses
object[]
Possible values: [work
]
emails
object[]
Possible values: [work
]
external unique resource id defined by provisioning client
unique resource id defined by Elfsquad
name
object
phoneNumbers
object[]
Possible values: [work
, mobile
, other
]
photos
object[]
Possible values: [photo
]
Possible values: [urn:ietf:params:scim:schemas:core:2.0:User
]
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
object
urn:ietf:params:scim:schemas:extension:elfsquad:2.0:User
object
meta
object
resource metadata
resource location URI
Possible values: [User
, Group
]
{
"active": false,
"addresses": [
{
"country": "string",
"locality": "string",
"postalCode": "string",
"region": "string",
"streetAddress": "string",
"type": "work"
}
],
"emails": [
{
"type": "work",
"value": "string"
}
],
"externalId": "string",
"id": "string",
"name": {
"familyName": "string",
"givenName": "string"
},
"phoneNumbers": [
{
"type": "work",
"value": "string"
}
],
"photos": [
{
"type": "photo",
"value": "string"
}
],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
"department": "string"
},
"userName": "string",
"urn:ietf:params:scim:schemas:extension:elfsquad:2.0:User": {
"currencyIso": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"languageIso": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"crmAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"crmContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"meta": {
"created": "2024-06-06T15:30:34.534Z",
"lastModified": "2024-06-06T15:30:34.534Z",
"location": "string",
"resourceType": "User"
}
}
bad request
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
authorization failure
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
permissions denied
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
not found
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
too many requests
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
internal server error
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}
- Schema
- Example (from schema)
Schema
detail error message
Possible values: [urn:ietf:params:scim:api:messages:2.0:Error
]
Possible values: [uniqueness
, tooMany
, mutability
, sensitive
, invalidSyntax
, invalidFilter
, invalidPath
, invalidValue
, invalidVers
, noTarget
]
bad request type when status code is 400
same as HTTP status code, e.g. 400, 401, etc.
{
"detail": "string",
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "uniqueness",
"status": "string"
}