Skip to content

Create Access Policy

POST
/api/v1/developer/access_policies

Authorizations

bearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"name": "Full Access Policy",
  
"resources": [
  
  
{
  
  
  
"type": "string",
  
  
  
"id": "string"
  
  
}
  
],
  
"schedule_id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
}

Responses

Successful response

application/json
JSON
{
  
"code": "string",
  
"msg": "string",
  
"data": {
  
  
"id": "string",
  
  
"name": "string",
  
  
"resources": [
  
  
  
{
  
  
  
  
"id": "string",
  
  
  
  
"type": "string"
  
  
  
}
  
  
],
  
  
"schedule_id": "string"
  
}
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI