userName
, name
, and emails
.active: false
removes the user from the organization, deletes the external identity, and deletes the associated {scim_user_id}
.curl --location --request PUT 'https://api.github.com/scim/v2/organizations//Users/' \
--header 'Content-Type: application/json' \
--data-raw '{
"active": true,
"displayName": "Jon Doe",
"emails": [
{
"primary": true,
"value": "someone@example.com"
},
{
"primary": false,
"value": "another@example.com"
}
],
"externalId": "string",
"groups": [
"string"
],
"name": {
"familyName": "User",
"givenName": "Jane"
},
"schemas": [
"string"
],
"userName": "someone@example.com"
}'
{}