Enable service account
curl --request POST \
--url https://api.example.com/api/v2/service-accounts/{id}/enable{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"isActive": true,
"clientSecretPrefix": "<string>",
"credentialExpirationDate": "2023-11-07T05:31:56Z",
"workspaceAssignments": [
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspaceName": "<string>"
}
],
"credentials": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientSecretPrefix": "<string>",
"expirationDate": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"scopes": [
"<string>"
]
}
],
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"lastModifiedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}Service accounts
Enable service account
POST
/
api
/
v2
/
service-accounts
/
{id}
/
enable
Enable service account
curl --request POST \
--url https://api.example.com/api/v2/service-accounts/{id}/enable{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"isActive": true,
"clientSecretPrefix": "<string>",
"credentialExpirationDate": "2023-11-07T05:31:56Z",
"workspaceAssignments": [
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspaceName": "<string>"
}
],
"credentials": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientSecretPrefix": "<string>",
"expirationDate": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"scopes": [
"<string>"
]
}
],
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"lastModifiedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}⌘I