Set agency logo
Replace the selected agency’s logo with base64 PNG or JPEG file bytes and the matching contentType. Maximum decoded file size is 10 MiB. Requires agency-settings edit permission and returns the updated agency profile.
/v1/agencies/{agencyId}/profile/logoReplace the selected agency’s logo with base64 PNG or JPEG file bytes and the matching contentType. Maximum decoded file size is 10 MiB. Requires agency-settings edit permission and returns the updated agency profile.
Authorization
bearerAuth In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/agencies/string/profile/logo" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "contentType": "image/png", "base64": "string" }'{ "data": { "id": "string", "name": "string", "slug": "string", "imageUrl": "string" }, "meta": { "requestId": "string", "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969", "status": "COMPLETED" }}Remove agency logo DELETE
Remove the selected agency’s logo and return its updated profile. Requires current permission to edit agency settings.
Delete agency DELETE
Permanently delete the selected agency and revoke its agent connections. Requires agency-deletion permission and confirmationName matching its exact current name from get_agency_profile. Returns the deleted agency ID and deleted status.