> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/rest-api/user-role-management-apis-authorization-action-resource.md).

# User Role Management APIs   Authorization Action Resource

Resource deals with the Authorization Action in the BA Platform. This service validates if a current user is authorized to perform a specific action.

## Validate user authorization

> Validates if a current user is authorized to perform a specific action.\
> \
> \*\*Example Request:\*\*\
> \`\`\`\
> GET pentaho/api/authorization/action/isauthorized\
> \`\`\`\
> \
> \*\*cURL Example:\*\*\
> \`\`\`bash\
> curl -X GET \\\
> &#x20; "<http://localhost:8080/pentaho/api/authorization/action/isauthorized?authAction=org.pentaho.repository.read>" \\\
> &#x20; -H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="\
> \`\`\`\
> \
> \*\*Example Response:\*\*\
> \`\`\`\
> false\
> \`\`\`\
> \
> \*\*Returns:\*\*\
> A boolean response based on the current user being authorized to perform a specific action within the system.<br>

````json
{"openapi":"3.0.3","info":{"title":"Pentaho Data Integration and Analytics","version":"0.0.1"},"tags":[{"name":"User Role Management APIs - Authorization Action Resource","description":"Resource deals with the Authorization Action in the BA Platform. This service validates if a current user is authorized to perform a specific action."}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic Authentication"}}},"paths":{"/authorization/action/isauthorized":{"get":{"tags":["User Role Management APIs - Authorization Action Resource"],"summary":"Validate user authorization","produces":["text/plain"],"description":"Validates if a current user is authorized to perform a specific action.\n\n**Example Request:**\n```\nGET pentaho/api/authorization/action/isauthorized\n```\n\n**cURL Example:**\n```bash\ncurl -X GET \\\n  \"http://localhost:8080/pentaho/api/authorization/action/isauthorized?authAction=org.pentaho.repository.read\" \\\n  -H \"Authorization: Basic YWRtaW46cGFzc3dvcmQ=\"\n```\n\n**Example Response:**\n```\nfalse\n```\n\n**Returns:**\nA boolean response based on the current user being authorized to perform a specific action within the system.\n","parameters":[{"name":"authAction","in":"query","required":true,"description":"Authorization Action to be validated for the current user","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a boolean response","content":{"text/plain":{"schema":{"type":"string","description":"Boolean value indicating authorization status"}}}}}}}}}
````


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/rest-api/user-role-management-apis-authorization-action-resource.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
