cURL
curl --request PATCH \ --url https://api.perscom.io/{version}/users/{user}/attachments/toggle \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "resources": [ {} ] }'
{ "attached": [ 123 ], "detached": [ 123 ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
OK
The response is of type object.
object
Was this page helpful?