platform.v1.IdentityService
IdentityService is console session + current-user + user-management and API-clients. OAuth2 token/revoke are custom form HTTP on the REST mux, not RPCs on this service.
RPCs
CreateSession
Create a console session. Empty email/password → 400; bad credentials → 401. Success is HTTP 201 with Set-Cookie cs_console (HttpOnly, Path=/, SameSite=Lax).
- Request:
CreateSessionRequest
- Response:
CreateSessionResponse
- REST mapping:
POST /identity/entities/sessions/v1
DeleteSession
Log out; clears cs_console. Succeeds even when no cookie is present.
- Request:
DeleteSessionRequest
- Response:
DeleteSessionResponse
- REST mapping:
DELETE /identity/entities/sessions/v1
GetCurrentUser
Current console user (cs_console cookie) or bearer with user-management:read.
- Request:
GetCurrentUserRequest
- Response:
GetCurrentUserResponse
- REST mapping:
GET /identity/combined/user-current/v1
QueryUsers
- Request:
QueryUsersRequest
- Response:
MsaStringResponse
- REST mapping:
GET /user-management/queries/users/v1
RetrieveUsers
- Request:
RetrieveUsersRequest
- Response:
MsaManagedUserResponse
- REST mapping:
POST /user-management/entities/users/GET/v1
CreateUser
- Request:
CreateUserRequest
- Response:
MsaManagedUserResponse
- REST mapping:
POST /user-management/entities/users/v1
UpdateUser
- Request:
UpdateUserRequest
- Response:
MsaManagedUserResponse
- REST mapping:
PATCH /user-management/entities/users/v1
DeleteUser
- Request:
IdsQueryRequest
- Response:
MsaStringResponse
- REST mapping:
DELETE /user-management/entities/users/v1
QueryRoles
- Request:
QueryRolesRequest
- Response:
MsaStringResponse
- REST mapping:
GET /user-management/queries/roles/v1
UserRoleAction
- Request:
UserRoleActionRequest
- Response:
MsaStringResponse
- REST mapping:
POST /user-management/entities/user-role-actions/v1
QueryAPIClients
- Request:
QueryAPIClientsRequest
- Response:
MsaStringResponse
- REST mapping:
GET /api-clients/queries/api-clients/v1
GetAPIClients
- Request:
IdsQueryRequest
- Response:
MsaApiClientResponse
- REST mapping:
GET /api-clients/entities/api-clients/v1
CreateAPIClient
- Request:
CreateAPIClientRequest
- Response:
MsaApiClientSecretResponse
- REST mapping:
POST /api-clients/entities/api-clients/v1
UpdateAPIClient
- Request:
UpdateAPIClientRequest
- Response:
MsaApiClientResponse
- REST mapping:
PATCH /api-clients/entities/api-clients/v1
DeleteAPIClients
- Request:
IdsQueryRequest
- Response:
MsaStringResponse
- REST mapping:
DELETE /api-clients/entities/api-clients/v1
ResetAPIClientSecret
- Request:
ResetAPIClientSecretRequest
- Response:
MsaApiClientSecretResponse
- REST mapping:
POST /api-clients/entities/api-clients-actions/v1
GetAccessibleScopes
- Request:
GetAccessibleScopesRequest
- Response:
MsaStringResponse
- REST mapping:
GET /api-clients/entities/accessible-scopes/v1
Messages
CreateAPIClientRequest
| Field | Type | # | Notes |
|---|
name | string | 1 | |
scopes | string | 2 | |
CreateSessionRequest
| Field | Type | # | Notes |
|---|
email | string | 1 | |
password | string | 2 | |
cloud | string | 3 | |
CreateSessionResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | ConsoleUser | 3 | |
CreateUserRequest
| Field | Type | # | Notes |
|---|
email | string | 1 | |
first_name | string | 2 | |
last_name | string | 3 | |
password | string | 4 | |
role_id | string | 5 | |
DeleteSessionRequest
No fields.
DeleteSessionResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | ConsoleUser | 3 | |
GetAccessibleScopesRequest
No fields.
GetCurrentUserRequest
No fields.
GetCurrentUserResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | ConsoleUser | 3 | |
IdsQueryRequest
| Field | Type | # | Notes |
|---|
ids | string | 1 | |
MsaApiClientResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | ApiClientEntity | 3 | |
MsaApiClientSecretResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | ApiClientSecret | 3 | |
MsaManagedUserResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | ManagedUser | 3 | |
MsaStringResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | string | 3 | |
QueryAPIClientsRequest
| Field | Type | # | Notes |
|---|
filter | string | 1 | |
QueryRolesRequest
No fields.
QueryUsersRequest
| Field | Type | # | Notes |
|---|
filter | string | 1 | |
limit | int32 | 2 | |
offset | int32 | 3 | |
sort | string | 4 | |
ResetAPIClientSecretRequest
| Field | Type | # | Notes |
|---|
ids | string | 1 | |
action_name | string | 2 | |
RetrieveUsersRequest
| Field | Type | # | Notes |
|---|
ids | string | 1 | |
UpdateAPIClientRequest
| Field | Type | # | Notes |
|---|
client_id | string | 1 | |
name | string | 2 | |
scopes | string | 3 | |
UpdateUserRequest
| Field | Type | # | Notes |
|---|
uuid | string | 1 | |
first_name | string | 2 | |
last_name | string | 3 | |
role_id | string | 4 | |
UserRoleActionRequest
| Field | Type | # | Notes |
|---|
action | string | 1 | |
user_uuid | string | 2 | |
role_id | string | 3 | |