api_key
API Keys
Update current API key. (Requires current API connection to be using an API key.)
Changed onUpdate current API key. (Requires current API connection to be using an API key.)
patch/api_key
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/api_key
- Authnone declared
Request body multipart/form-data
Example request
{
"expires_at": "2000-01-01T01:00:00Z",
"name": "My Main API Key",
"permission_set": "full"
}Response
The ApiKey object.
Example response
{
"id": 1,
"descriptive_label": "Site-wide API key for https://site.files.com/ (key ID #1)",
"description": "example",
"created_at": "2000-01-01T01:00:00Z",
"expires_at": "2000-01-01T01:00:00Z",
"key": "[key]",
"aws_style_credentials": true,
"aws_access_key_id": "[aws_access_key_id]",
"aws_secret_key": "[aws_secret_key]",
"last_use_at": "2000-01-01T01:00:00Z",
"name": "My Main API Key",
"permission_set": "full",
"platform": "win32",
"site_id": 1,
"site_name": "example",
"url": "example",
"user_id": 1,
"workspace_id": 1
}Changes
- info
api operation id
UpdateCurrentremoved and replaced withApiKeyUpdateCurrent - info
api tag
API Keysadded
- info
- info
api operation id
patchApiKeyremoved and replaced withUpdateCurrent
- info