Create subtype provisioning policy
POST/source-subtypes/v2/:id/provisioning-policy
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 the machine account creation provisioning policy for a subtype. A subtype has at most one policy; the request is rejected if one already exists.
When useDefaultFields is true and the body has no fields, a CONNECTOR subtype's policy
is created with the connector's default account-creation fields. SOURCE subtypes ignore
useDefaultFields.
SOURCE-tier write requires idn:source-subtypes:update. CONNECTOR-tier write requires
idn:connector-subtypes:update. A missing subtype or a missing right returns 404.
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
- 409
- 429
- 500
Stored CREATE_MACHINE_ACCOUNT provisioning policy.
Response Headers
URL of the stored provisioning policy.
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
Conflict - a provisioning policy is already stored for the subtype.
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.