Create a tiered subtype
POST/source-subtypes/v2
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
Creates a machine account subtype at the tier declared on the request body.
targetId is required at every tier. targetType defaults to SOURCE when omitted. Do not
supply id or profile; those fields are response-only. systemManaged, created,
modified, and origin are ignored on input. CONNECTOR targetName is optional and is filled
from the connector's display name.
SOURCE-tier create requires idn:source-subtypes:create. CONNECTOR-tier create requires
idn:connector-subtypes:create. A missing right is returned as 404, not 403.
CONNECTOR_VARIANT is not available and returns 400.
Duplicate technical name or display name in the same tier scope returns 400. Exceeding the
organization subtype limit returns 400. The create also stores a CREATE_MACHINE_ACCOUNT
provisioning policy from the connector's default account-creation fields.
When the experimental header is missing, or when the tiered subtype configuration is not enabled for the tenant, the endpoint returns 404.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 429
- 500
Created tiered machine account subtype.
Response Headers
URL of the created subtype.
Client Error - Returned if the request body is invalid.
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Not Found - returned if the request URL refers to a resource or object that does not exist
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Internal Server Error - Returned if there is an unexpected error.