Update Service Account
PATCH/workspaces/:workspaceId/service-accounts/:subjectId
Update Service Account
Request
Path Parameters
workspaceId uuidrequired
subjectId uuidrequired
- application/json
- text/json
- application/*+json
Body
displayName stringnullable
Body
displayName stringnullable
Body
displayName stringnullable
Responses
- 200
- 400
- 404
- 423
Service account updated.
- application/json
- Schema
- Example (from schema)
Schema
subjectId uuid
displayName string
workspaceId uuidnullable
creatorSubjectId uuidnullable
{
"subjectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"displayName": "string",
"workspaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"creatorSubjectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Invalid request.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace or service account not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...