Me
Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
limitinteger · int32 · min: 1 · max: 500OptionalDefault:
The maximum number of entries to return.
50offsetinteger · int32OptionalExample:
The offset of the first item returned in the collection.
100searchstringOptionalExample:
Filter results by a free text search.
test projectResponses
200
Executed successfully.
application/json
400
Bad request.
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get/api/v1/authorization/me/access-rules
GET /api/v1/authorization/me/access-rules HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"accessRules": {
"totalRecords": 1,
"displayRecords": 1,
"accessRules": [
{
"subjectId": "user@run.ai",
"subjectType": null,
"roleId": 53142648,
"scopeId": "a418ed33-9399-48c0-a890-122cadd13bfd",
"scopeType": null,
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"roleName": "admin",
"scopeName": "tenant-x",
"id": 32,
"tenantId": 1001
}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
searchstringOptionalExample:
Filter results by a free text search.
test projectResponses
200
Executed successfully.
application/json
countinteger · int64RequiredExample:
1400
Bad request.
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get/api/v1/authorization/me/access-rules/count
GET /api/v1/authorization/me/access-rules/count HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1
}Last updated