Roles

Update a custom policy

put/v1/roles/policies/{policyId}

Request

  • Base URL
    https://api.tetrascience.com
  • URL
    https://api.tetrascience.com/v1/roles/policies/{policyId}
  • Auth
    API key in header ts-auth-token and API key in header x-org-slug

Parameters

#/paths/~1v1~1roles~1policies~1{policyId}/get/parameters/0 (unresolved $ref)

Request body

namestring
descriptionstring

Example request

{
  "permissions": [
    {
      "resource": "pipelines",
      "action": "edit"
    }
  ]
}

Response

Responding with the updated policy

Schema required(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.