Create an Access Policy

Grant access for a member identity to a scope identity.

Access is a set of roles. Member identity might be one of user, team, or service-account. Scope identity is one of account, environment, or workspace.

Check out identity and access management for a detailed description of the Scalr IAM model.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
include
array of strings

The comma-separated list of relationship paths.

include
Body Params
data
object

Grants the permissions declared in a role to a user, team, or service account.

An access policy is applied to an environment or a specific workspace.

Responses

403

User unauthorized to perform this action.

404

Relationship not found or user unauthorized to read it.

409

Quota exceeded error.

422

Malformed request body (missing attributes, wrong types, etc.)

4XX

Client error.

5XX

Server error.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.api+json