POST
/
nodes
/
{id}
/
permissions
Create a permission for a Node
curl --request POST \
  --url https://api.seminode.com/v1/nodes/{id}/permissions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "manage": true,
  "public_key": "<string>",
  "read": true,
  "write": true
}'
{
  "detail": "<string>"
}

Authorizations

Authorization
string
header
required

Format: "Bearer <access_token>"

Path Parameters

id
string
required

Node ID

Body

application/json

Public key and permission flags

The body is of type object.

Response

201
application/json

permission created

The response is of type object.