mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
33 lines
973 B
JSON
33 lines
973 B
JSON
[
|
|||
|
|
{
|
||
|
|
"request": "POST /api/admin/api-keys",
|
||
|
|
"status": 201,
|
||
|
|
"body": {
|
||
|
|
"object": "api_key",
|
||
|
|
"attributes": {
|
||
|
|
"identifier": "ptla_509b0530b26",
|
||
|
|
"memo": "Created key",
|
||
|
|
"created_by": {
|
||
|
|
"id": 1,
|
||
|
|
"username": "admin",
|
||
|
|
"email": "admin@example.test"
|
||
|
|
},
|
||
|
|
"last_used_at": null,
|
||
|
|
"created_at": "2026-03-04T05:06:07+00:00",
|
||
|
|
"relationships": [],
|
||
|
|
"r_servers": 1,
|
||
|
|
"r_nodes": 0,
|
||
|
|
"r_allocations": 0,
|
||
|
|
"r_users": 3,
|
||
|
|
"r_locations": 0,
|
||
|
|
"r_eggs": 0,
|
||
|
|
"r_database_hosts": 0,
|
||
|
|
"r_server_databases": 0
|
||
|
|
},
|
||
|
|
"meta": {
|
||
|
|
"secret_token": "ptla_509b0530b269fc2bf2a6b3dfe2f14374e57422aeafb"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|