Create a service account

Contributors

POST /tenancy/account/{accountId}/service-account

Creates a service account on a specified account.
Token usage: Cloud Manager user token.

Parameters

Name Type In Required Description

accountId

string

path

True

authorization

string

header

True

Authorization JWT access token

X-User-Token

string

header

False

User JWT access token

X-Service-Request-Id

string

header

False

Request identifier

Request Body

Name Type Required Description

serviceAccountName

string

True

Service account name

rolePublicId

string

True

Service account role

workspacePublicIds

array[string]

False

Service account workspaces

Response

Status: 200, Default response
Name Type Required Description

clientId

string

False

clientSecret

string

False

publicId

string

False

Definitions

body
Name Type Required Description

serviceAccountName

string

True

Service account name

rolePublicId

string

True

Service account role

workspacePublicIds

array[string]

False

Service account workspaces

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response