Get the authenticated Principal and Access capabilities

GET
/v1/access/me

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/access/me"
{  "principal": {    "type": "user",    "id": "string",    "description": "string"  },  "mode": "disabled",  "resource_kinds": [    "server"  ],  "provider_capabilities": {    "safe_resource_filtering": true,    "multi_requirement_check": true,    "relationship_management": true,    "group_subjects": true,    "multi_principal": true,    "max_direct_resource_keys": 1  },  "artifact_families": [    {      "family": "string",      "enabled": true,      "share_unit": "artifact",      "actions": [        "server.observe"      ],      "grantable_roles": [        "handoff.viewer"      ]    }  ]}