curl --location --request PATCH 'https://api.ticaret.pro/accounts//instagram/accounts/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"status": "active",
"capabilities": {
"messaging": true,
"comments": true,
"publishing": true,
"reels": true,
"stories": true
},
"metadata": {
"property1": "string",
"property2": "string"
}
}'{
"status": true,
"data": {
"id": "string",
"accountId": "string",
"connectionId": "string",
"instagramUserId": "string",
"username": "string",
"name": "string",
"accountType": "string",
"status": "active",
"capabilities": {
"messaging": true,
"comments": true,
"publishing": true,
"reels": true,
"stories": true
},
"hasAccessToken": true,
"accessTokenLast4": "string",
"tokenExpiresAt": "2019-08-24T14:15:22.123Z",
"lastSyncedAt": "2019-08-24T14:15:22.123Z",
"lastError": {
"property1": "string",
"property2": "string"
},
"metadata": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"entityVersion": "2019-08-24T14:15:22.123Z"
}
}