Skip to main content
PUT
/
scim
/
v2
/
Users
/
{user_id}
Update User
curl --request PUT \
  --url https://api.mileiq.com/scim/v2/Users/{user_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "userName": "<string>",
  "name": {
    "givenName": "<string>",
    "familyName": "<string>",
    "formatted": "<string>"
  },
  "emails": [
    {
      "value": "<string>",
      "type": "<string>",
      "primary": true
    }
  ],
  "active": true,
  "displayName": "<string>",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "meta": {
    "resourceType": "<string>",
    "created": "2023-11-07T05:31:56Z",
    "lastModified": "2023-11-07T05:31:56Z",
    "location": "<string>"
  }
}'
{
  "id": "<string>",
  "userName": "<string>",
  "name": {
    "givenName": "<string>",
    "familyName": "<string>",
    "formatted": "<string>"
  },
  "emails": [
    {
      "value": "<string>",
      "type": "<string>",
      "primary": true
    }
  ],
  "active": true,
  "displayName": "<string>",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "meta": {
    "resourceType": "<string>",
    "created": "2023-11-07T05:31:56Z",
    "lastModified": "2023-11-07T05:31:56Z",
    "location": "<string>"
  }
}

Headers

Authorization
string

Path Parameters

user_id
string
required

Body

application/json
id
string
required

Unique identifier for the user (Parse ID) - used for API operations and internal references

userName
string
required

User's login username, typically their email address used for authentication

name
object
required

Structured name information including first name, last name, and formatted display name

emails
Email · object[]
required

Collection of email addresses associated with the user, including primary/secondary designation and type classification

active
boolean
default:true

Account status flag indicating whether the user account is currently active and operational

displayName
string | null

Formatted display name used throughout the application interface for user identification

schemas
string[]
meta
object | null

Generic metadata providing audit trail and resource identification information

Response

Successful Response

id
string
required

Unique identifier for the user (Parse ID) - used for API operations and internal references

userName
string
required

User's login username, typically their email address used for authentication

name
object
required

Structured name information including first name, last name, and formatted display name

emails
Email · object[]
required

Collection of email addresses associated with the user, including primary/secondary designation and type classification

active
boolean
default:true

Account status flag indicating whether the user account is currently active and operational

displayName
string | null

Formatted display name used throughout the application interface for user identification

schemas
string[]
meta
object | null

Generic metadata providing audit trail and resource identification information