🚀 You can now run code directly on your disks with serverless execution!
Adds an authorized user to a disk. Users can authenticate via:
curl --request POST \
--url https://control.green.us-east-1.aws.prod.archil.com/api/disks/{id}/users \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nickname": "<string>",
"principal": "<string>",
"tokenSuffix": "<string>"
}
'{
"success": true,
"data": {
"principal": "<string>",
"nickname": "<string>",
"tokenSuffix": "<string>",
"token": "<string>",
"identifier": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.archil.com/llms.txt
Use this file to discover all available pages before exploring further.
API key (format key-{API_KEY})
Disk ID (format dsk-{16 hex chars})
^dsk-[0-9a-f]{16}$"dsk-0123456789abcdef"
token 255Deprecated. Client-provided token. If omitted, the server generates a cryptographically secure token and returns it in the response.
2048Deprecated. Last 4 characters of the token. Required when principal is provided; ignored when the server generates the token.
4Was this page helpful?
curl --request POST \
--url https://control.green.us-east-1.aws.prod.archil.com/api/disks/{id}/users \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nickname": "<string>",
"principal": "<string>",
"tokenSuffix": "<string>"
}
'{
"success": true,
"data": {
"principal": "<string>",
"nickname": "<string>",
"tokenSuffix": "<string>",
"token": "<string>",
"identifier": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}