Authorization: Bearer ********************{
"userId": "string"
}curl --location --request POST '/yiaskAuth:getUserYiaskPermissions' \
--header 'X-SPACES: default' \
--header 'X-SPACES: {{space}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "string"
}'{
"dataSourceKey": "yiask",
"totalCount": 0,
"accessibleCount": 0,
"roles": [
"admin",
"root"
],
"availableActions": [
"view",
"create",
"update",
"destroy",
"export",
"importXlsx"
],
"rolesDetail": [
{
"name": "string",
"toJSON": {},
"strategy": [
"string"
],
"resources": [
"string"
]
}
],
"collectionPermissions": [
{
"name": "string",
"title": "string",
"actions": {
"property1": {
"role": "string",
"resource": "string",
"action": "string",
"params": {
"filter": {},
"fields": [
"string"
]
}
},
"property2": {
"role": "string",
"resource": "string",
"action": "string",
"params": {
"filter": {},
"fields": [
"string"
]
}
}
}
}
]
}