v6

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-05-12308589.5 KB
Principals

Self

Retrieve the currently authenticated principal.

get/principal

Response

Successfully retrieved the principal.

object'principal' required

The object type, which is always principal.

idstring required

ID of the principal.

namestring required

The display name of the principal.

Example response

{
  "object": "principal",
  "id": "api_key_123",
  "name": "My CI/CD Key"
}