Creates a Service Account
POST/v1/serviceaccounts
Creates a Service Account with the information provided. The service account is later used for machine to machine authentication. For rsaKey authentication service accounts publicKey key is required. Provide authenticationType field for creating other service accounts with another type of authentication.
Request
Responses
- 200
- 400
- 401
- 500
The id assigned to the created Service Account. If the Service Account has CyberArk registry purpose and is created with ociToken authentication type, the ociRegistryToken and ociAccountName are returned in the response.
BadRequest. Return ErrInvalidPayload when creating rsaKey authentication service accounts and publicKey not provided.
Unauthorized
InternalServerError