Skip to main content
POST
Create a resource policy

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Body

application/json
actions
string[] | null
required
project_id
string
required
resource_id
string
required
resource_type
string
required
user_id
string
required

Response

OK

actions
string[] | null
required
created_at
string<date-time>
required
id
string
required
project_id
string
required
resource_id
string
required
resource_type
string
required
user_id
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/ResourcePolicy.json"