DELETE
/Organizations/{OrganizationSid}/scim/Users/{UserSid}
curl \
--request DELETE 'https://preview-iam.twilio.com/Organizations/OR80b7392892f0a424d07c42f5b11dce2a/scim/Users/US23c7d4510f1398849aaac5c543475b12' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (400)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (401)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (403)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (404)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (429)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}