Create File Access Request
better-auth.session_token<token>
Signed-in EnderDash browser session cookie.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
organizationId?string
Length
1 <= lengthorganizationSlug?string
Length
1 <= lengthserverId?string
Length
1 <= lengthserverSlug?string
Length
1 <= lengthactions*array<>
Items
1 <= itemsprimaryPath*string
Length
1 <= lengthsecondaryPath?string
reason?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/servers/createFileAccessRequest" \ -H "Content-Type: application/json" \ -d '{ "actions": [ 0 ], "primaryPath": "string" }'null