Rename a file or set its alt text
PATCH
http://localhost:4000/api/v1 /media/{id} Parameters
idstring
path
required
Request body
application/json
namestring
altstring
clientIdstring
{
"name": "string",
"alt": "string",
"clientId": "string"
}Code samples
cURL
curl -X PATCH "http://localhost:4000/api/v1/media/{id}" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","alt":"string","clientId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated