Skip to Content
OpenETL
ReferenceAPIAccess Service

Get principal

GET
/v1/principals/{principal}

Path Parameters

principal*string

The principal id.

Response Body

OK

application/json
  1. response
principal?

A user or a service account, which calls the API with its keys.

Example Request
curl -X GET 'http://localhost:8080/v1/principals/string'
Example Response
{  "principal": {    "name": "string",    "type": "PRINCIPAL_TYPE_UNSPECIFIED",    "displayName": "string",    "email": "string",    "disabled": true,    "roleBindings": [      {        "role": "ROLE_UNSPECIFIED",        "workspace": "string"      }    ],    "createTime": "2019-08-24T14:15:22Z"  }}