curl --request POST \
--url https://api-next.ofauth.com/v2/access/vault/lists \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"id": 123,
"type": "custom",
"name": "<string>",
"hasMedia": true,
"canUpdate": true,
"canDelete": true,
"medias": [
{
"type": "photo",
"url": "<string>"
}
]
}Create vault list
Permission Required: vault:write
curl --request POST \
--url https://api-next.ofauth.com/v2/access/vault/lists \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"id": 123,
"type": "custom",
"name": "<string>",
"hasMedia": true,
"canUpdate": true,
"canDelete": true,
"medias": [
{
"type": "photo",
"url": "<string>"
}
]
}Requires a connection via the x-connection-id header.
Was this page helpful?