Skip to main content

IdentityService

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​

FieldType#Notes
namestring1
scopesstring2

CreateSessionRequest​

FieldType#Notes
emailstring1
passwordstring2
cloudstring3

CreateSessionResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesConsoleUser3

CreateUserRequest​

FieldType#Notes
emailstring1
first_namestring2
last_namestring3
passwordstring4
role_idstring5

DeleteSessionRequest​

No fields.

DeleteSessionResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesConsoleUser3

GetAccessibleScopesRequest​

No fields.

GetCurrentUserRequest​

No fields.

GetCurrentUserResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesConsoleUser3

IdsQueryRequest​

FieldType#Notes
idsstring1

MsaApiClientResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesApiClientEntity3

MsaApiClientSecretResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesApiClientSecret3

MsaManagedUserResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesManagedUser3

MsaStringResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesstring3

QueryAPIClientsRequest​

FieldType#Notes
filterstring1

QueryRolesRequest​

No fields.

QueryUsersRequest​

FieldType#Notes
filterstring1
limitint322
offsetint323
sortstring4

ResetAPIClientSecretRequest​

FieldType#Notes
idsstring1
action_namestring2

RetrieveUsersRequest​

FieldType#Notes
idsstring1

UpdateAPIClientRequest​

FieldType#Notes
client_idstring1
namestring2
scopesstring3

UpdateUserRequest​

FieldType#Notes
uuidstring1
first_namestring2
last_namestring3
role_idstring4

UserRoleActionRequest​

FieldType#Notes
actionstring1
user_uuidstring2
role_idstring3