Roles
Create a custom policy for the caller's organization
The caller may only grant permissions they already hold in the organization the request is scoped to; a payload exceeding that is rejected with 403.
post/v1/roles/policies
Request
- Base URLhttps://api.tetrascience.com
- URLhttps://api.tetrascience.com/v1/roles/policies
- AuthAPI key in header ts-auth-token and API key in header x-org-slug
Request body
Example request
{
"permissions": [
{
"resource": "pipelines",
"action": "edit"
}
]
}Response
Responding with the created policy
Changes
No recorded changes to this operation across all 1 revision of this API.