Create new OIDC Identity for a Service Account
POST /api
Path Parameters
serviceAccountIdstring (required)
The id of the service account that the identity belonds to.
Request Body
Audiencestring
The audience of tokens for the identity.Issuerstring (required)
Gets the issuer of tokens for the identity. Minimum length 1.Namestring (required)
The name of the ServiceAccountOidcIdentity. Minimum length 1. Maximum length 200.ServiceAccountIdstring (required)
The id of the service account that the identity belonds to.Subjectstring (required)
Gets the subject of tokens for the identity. Minimum length 1.
Response
201 — Created
Idstring
Example Request
{
"Audience": "string",
"Issuer": "string",
"Name": "string",
"ServiceAccountId": "string",
"Subject": "string"
}Example Response
{
"Id": "string"
}Get ServiceAccountOidcIdentities
GET /api
Gets a paginated set of ServiceAccountOidcIdentities.
Path Parameters
serviceAccountIdstring (required)
The id of the service account to get OIDC identities for.
Query Parameters
skipinteger (required)
Number of items to skip. Minimum0.takeinteger (required)
Number of items to take. Minimum0.
Response
200 — Rseponse to getting set of ServiceAccountOidcIdentities
CountintegerExternalIdstring
Minimum length 1.OidcIdentitiesarray of objectAudiencestringIdstringIssuerstring
Minimum length 1.Namestring
Minimum length 1.ServiceAccountIdstringSubjectstring
Minimum length 1.
ServerUrlstring
Minimum length 1.
Example Response
{
"Count": 0,
"ExternalId": "string",
"OidcIdentities": [
{
"Audience": "string",
"Id": "string",
"Issuer": "string",
"Name": "string",
"ServiceAccountId": "string",
"Subject": "string"
}
],
"ServerUrl": "string"
}Get ServiceAccountOidcIdentity by id
GET /api
Gets a ServiceAccountOidcIdentity by its id.
Path Parameters
idstring (required)
The id of the ServiceAccountOidcIdentity.serviceAccountIdstring (required)
The id of the space for the ServiceAccountOidcIdentity.
Response
200 — Response to getting a ServiceAccountOidcIdentity by id
AudiencestringIdstringIssuerstring
Minimum length 1.Namestring
Minimum length 1.ServiceAccountIdstringSubjectstring
Minimum length 1.
Example Response
{
"Audience": "string",
"Id": "string",
"Issuer": "string",
"Name": "string",
"ServiceAccountId": "string",
"Subject": "string"
}Modify ServiceAccountOidcIdentity
PUT /api
Path Parameters
idstring (required)
The id of the ServiceAccountOidcIdentity.serviceAccountIdstring (required)
The id of the space for the ServiceAccountOidcIdentity.
Request Body
Audiencestring
The audience of tokens for the OIDC identity.Idstring (required)
The id of the ServiceAccountOidcIdentity.Issuerstring (required)
The issuer of tokens for the OIDC identity. Minimum length 1. Maximum length 200.Namestring (required)
The name of the ServiceAccountOidcIdentity. Minimum length 1. Maximum length 200.ServiceAccountIdstring (required)
The id of the space for the ServiceAccountOidcIdentity.Subjectstring (required)
The name of the ServiceAccountOidcIdentity. Minimum length 1. Maximum length 200.
Response
200 — Response to modifying a ServiceAccountOidcIdentity
Example Request
{
"Audience": "string",
"Id": "string",
"Issuer": "string",
"Name": "string",
"ServiceAccountId": "string",
"Subject": "string"
}Example Response
{}Delete ServiceAccountOidcIdentity
DELETE /api
Deletes a ServiceAccountOidcIdentity.
Path Parameters
idstring (required)
The id of the ServiceAccountOidcIdentity.serviceAccountIdstring (required)
The id of the service account that the identity belongs to.
Response
200 — Response to deleting a ServiceAccountOidcIdentity
Example Response
{}