curl --request PUT \
--url http://localhost:3091/v1/api/agencies/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"address": "<string>",
"city": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
}
'{
"id": 123,
"name": "<string>",
"description": "<string>",
"rccm": "<string>",
"address": "<string>",
"city": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>",
"logoUrl": "<string>",
"kycStatus": "<string>",
"status": "<string>",
"siret": "<string>",
"ownerId": 123,
"ownerName": "<string>",
"walletBalance": 123,
"createdAt": "2023-11-07T05:31:56Z"
}Updates agency details; only the owner can perform this action
curl --request PUT \
--url http://localhost:3091/v1/api/agencies/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"address": "<string>",
"city": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
}
'{
"id": 123,
"name": "<string>",
"description": "<string>",
"rccm": "<string>",
"address": "<string>",
"city": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>",
"logoUrl": "<string>",
"kycStatus": "<string>",
"status": "<string>",
"siret": "<string>",
"ownerId": 123,
"ownerName": "<string>",
"walletBalance": 123,
"createdAt": "2023-11-07T05:31:56Z"
}JWT access token from POST /v1/api/auth/login