{ "components": { "securitySchemes": { "accountSid_authToken": { "scheme": "basic", "type": "http" }, "access_token_bearer": { "type": "http", "scheme": "bearer", "bearerFormat": "access_token" } }, "schemas": { "iam.scim.v2.User": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique Twilio user sid" }, "externalId": { "maxLength": 255, "minLength": 2, "type": "string", "description": "External unique resource id defined by provisioning client" }, "userName": { "maxLength": 255, "minLength": 2, "type": "string", "description": "Unique username, MUST be same as primary email address" }, "displayName": { "maxLength": 255, "minLength": 0, "type": "string", "description": "User friendly display name" }, "name": { "$ref": "#/components/schemas/iam.scim.v2.Name" }, "emails": { "maxItems": 2147483647, "minItems": 1, "type": "array", "description": "Email address list of the user. Primary email must be defined if there are more than 1 email. Primary email must match the username.", "items": { "$ref": "#/components/schemas/iam.scim.v2.EmailAddress" } }, "active": { "type": "boolean", "description": "Indicates whether the user is active" }, "locale": { "type": "string", "description": "User's locale" }, "timezone": { "type": "string", "description": "User's time zone" }, "schemas": { "type": "array", "description": "An array of URIs that indicate the schemas supported for this user resource", "items": { "type": "string", "description": "An array of URIs that indicate the schemas supported for this user resource" } }, "meta": { "$ref": "#/components/schemas/iam.scim.v2.Meta" } } }, "iam.scim.v2.UserPage": { "type": "object", "properties": { "Resources": { "type": "array", "items": { "$ref": "#/components/schemas/iam.scim.v2.User" } }, "totalResults": { "type": "integer", "format": "int32" }, "schemas": { "type": "array", "items": { "type": "string", "description": "Scim ListResponse schema" } } } }, "iam.scim.v2.EmailAddress": { "type": "object", "properties": { "primary": { "type": "boolean", "description": "Indicates if this email address is the primary one" }, "value": { "maxLength": 160, "minLength": 2, "type": "string", "description": "The actual email address value" }, "type": { "maxLength": 64, "minLength": 0, "type": "string", "description": "The type of email address (e.g., work, home, etc.)" } }, "description": "Email address list of the user. Primary email must be defined if there are more than 1 email. Primary email must match the username." }, "iam.scim.v2.Meta": { "type": "object", "properties": { "resourceType": { "type": "string", "description": "Indicates the type of the resource" }, "created": { "type": "string", "description": "The date and time when the resource was created in the system", "format": "date-time" }, "lastModified": { "type": "string", "description": "The date and time when the resource was last modified", "format": "date-time" }, "version": { "type": "string", "description": "A version identifier for the resource. This can be used to manage resource versioning and concurrency control." } }, "description": "Meta" }, "iam.scim.v2.Name": { "type": "object", "properties": { "givenName": { "maxLength": 255, "minLength": 0, "type": "string", "description": "The user's first or given name" }, "familyName": { "maxLength": 255, "minLength": 0, "type": "string", "description": "The user's last or family name" } }, "description": "User's name" }, "iam.scim.v2.ResourceTypes": { "type": "object", "properties": { "Resources": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the resource type" }, "description": { "type": "string", "description": "Description of the resource type" }, "endpoint": { "type": "string", "description": "HTTP-addressable endpoint relative to the Base URL of the service provider" }, "schema": { "type": "string", "description": "Primary/base schema URI" } } } } } }, "iam.scim.v2.PatchRequest": { "type": "object", "properties": { "schemas": { "type": "array", "items": { "type": "string" } }, "Operations": { "type": "array", "items": { "$ref": "#/components/schemas/iam.scim.v2.PatchOperation" } } } }, "iam.scim.v2.PatchOperation": { "type": "object", "properties": { "op": { "type": "string", "description": "The operation to perform" }, "path": { "type": "string" }, "value": { "type": "object" } } }, "iam.scim.v2.Error": { "type": "object", "properties": { "schemas": { "type": "array", "description": "Schema URIs that define the contents of the error structure", "items": { "type": "string", "description": "Schema URIs that define the contents of the error structure" } }, "detail": { "type": "string", "description": "A human-readable description of the error" }, "scimType": { "type": "string", "description": "A scimType error code as defined in RFC7644", "enum": [ "invalidFilter", "uniqueness", "mutability", "invalidValue", "invalidSyntax" ] }, "status": { "type": "string", "description": "Http status code" }, "code": { "description": "Twilio-specific error code", "type": "integer", "format": "int32" }, "moreInfo": { "description": "Link to Error Code References", "type": "string" } } } } }, "info": { "title": "Twilio - Iam", "description": "This is the public Twilio REST API.", "termsOfService": "https://www.twilio.com/legal/tos", "contact": { "name": "Twilio Support", "url": "https://support.twilio.com", "email": "support@twilio.com" }, "license": { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, "version": "1.0.0", "x-twilio": { "apiStandards": "_DANGEROUS_undefined" } }, "servers": [ { "url": "https://iam.twilio.com" } ], "security": [ { "accountSid_authToken": [] } ], "openapi": "3.0.1", "paths": { "/scim/v2/ResourceTypes": {}, "/scim/v2/Users": {}, "/scim/v2/Users/{Id}": { "servers": [ { "url": "https://iam.twilio.com" } ] } } }