List My Project Roles
POST/permissions/me/_search
Returns a list of roles for the authenticated user and for the requesting project (based on the token).
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
result string[]
{
"result": [
"RoleKey1",
"RoleKey2"
]
}
- Schema
- Example (from schema)
Schema
result string[]
{
"result": [
"RoleKey1",
"RoleKey2"
]
}
- Schema
- Example (from schema)
Schema
result string[]
{
"result": [
"RoleKey1",
"RoleKey2"
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
code int32
message string
details
object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
code int32
message string
details
object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
code int32
message string
details
object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...