cURL
curl --request PATCH \ --url https://api.perscom.io/{version}/attachments/{attachment} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>" }'
{ "data": { "id": 123, "name": "<string>", "filename": "<string>", "model_type": "<string>", "model_id": 123, "path": "<string>", "attachment_url": "<string>", "label": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
model
OK
The response is of type object.
object
Was this page helpful?