Skip to main content

List My Project Roles​

Returns a list of roles for the authenticated user and for the requesting project (based on the token).

Responses

A successful response.


Schema
    result string[]
POST /permissions/me/_search

Authorization

name: OAuth2type: oauth2scopes: openidflows: {
  "authorizationCode": {
    "authorizationUrl": "$CUSTOM-DOMAIN/oauth/v2/authorize",
    "tokenUrl": "$CUSTOM-DOMAIN/oauth/v2/token",
    "scopes": {
      "openid": "openid"
    }
  }
}

Request

Base URL
https://$CUSTOM-DOMAIN/auth/v1
Bearer Token
Accept
curl / cURL
curl -L -X POST 'https://$CUSTOM-DOMAIN/auth/v1/permissions/me/_search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'