Create Auth Credentials Service State
Only Solution users, Container admins, and System admins can create AuthCredentialsServiceStates.
Request
URI
POST
https://{api_host}/container-service/api/core/auth/credentials
COPY
Request Body
AuthCredentialsServiceState of type(s) application/json
Required
{
"privateKey": "string",
"documentExpirationTimeMicros": "string",
"documentSelfLink": "string",
"tokenReference": "string",
"userEmail": "string",
"tenantLinks": [
"string"
],
"publicKey": "string",
"type": "string",
"privateKeyId": "string",
"documentUpdateTimeMicros": "string",
"userLink": "string"
}
string
privateKey
Optional
privateKey
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
object
customProperties
Optional
customProperties
string
documentSelfLink
Optional
documentSelfLink
string As uri As uri
tokenReference
Optional
tokenReference
string
userEmail
Optional
userEmail
array of string
tenantLinks
Optional
tenantLinks
string
publicKey
Optional
publicKey
string
type
Optional
type
string
privateKeyId
Optional
privateKeyId
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
string
userLink
Optional
userLink
Responses
200
successful operation
Returns AuthCredentialsServiceState of type(s) */*
{
"privateKey": "string",
"documentExpirationTimeMicros": "string",
"documentSelfLink": "string",
"tokenReference": "string",
"userEmail": "string",
"tenantLinks": [
"string"
],
"publicKey": "string",
"type": "string",
"privateKeyId": "string",
"documentUpdateTimeMicros": "string",
"userLink": "string"
}
string
privateKey
Optional
privateKey
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
object
customProperties
Optional
customProperties
string
documentSelfLink
Optional
documentSelfLink
string As uri As uri
tokenReference
Optional
tokenReference
string
userEmail
Optional
userEmail
array of string
tenantLinks
Optional
tenantLinks
string
publicKey
Optional
publicKey
string
type
Optional
type
string
privateKeyId
Optional
privateKeyId
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
string
userLink
Optional
userLink
201
'Created' is returned for the new state with the state url in the location
header of the response;
Operation doesn't return any data structure