PUT
/
api
/
scim
/
v2
/
Users
/
{user_id}
curl --request PUT \
  --url https://app.sendoso.com/api/scim/v2/Users/{user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": {
    "givenName": "<string>",
    "familyName": "<string>"
  },
  "active": true,
  "userType": "<string>",
  "division": "<string>"
}'
{
  schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"],
  id: "1000",
  userName: "john.doe@sendoso.com",
  active: true,
  name: {
    givenName: "John",
    familyName: "Doe",
  },
  emails: [
    { value: "john.doe@sendoso.com" },
  ],
  userType: "sender",
  division: "Marketing Ops",
}

Parameters

user_id
integer
required

The team group id to get the users from

Body

name
object
active
boolean

Wheter or not the user needs to be activated or deactivated from the Sendoso platform.

userType
string

The user’s new role. Values can be sender, manager, admin.

division
string

The user’s new team. This value needs to match the exact team group name in Sendoso. See more information to get team group names.

Response

schemas
array
required

The SCIM RFC schema for the user resource - always urn:ietf:params:scim:schemas:core:2.0:User

id
string
required

The user’s identifier

userName
string
required

The user’s email address

active
boolean
required

Whether or not the user is active or not in the Sendoso platform.

name
object
required
emails
array
required

The user’s personal balance

emails
array
required
userType
string
required

The user’s role. Values can be sender, manager, admin.

division
string
required

The user’s team.

{
  schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"],
  id: "1000",
  userName: "john.doe@sendoso.com",
  active: true,
  name: {
    givenName: "John",
    familyName: "Doe",
  },
  emails: [
    { value: "john.doe@sendoso.com" },
  ],
  userType: "sender",
  division: "Marketing Ops",
}