curl --request POST \
--url https://api.cashful.africa/api/canary/authentication/organization/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": "org_12345",
"data": {}
}
'{
"organization": {
"id": "org_123",
"name": "Updated Corp"
}
}Update an organization’s details
curl --request POST \
--url https://api.cashful.africa/api/canary/authentication/organization/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": "org_12345",
"data": {}
}
'{
"organization": {
"id": "org_123",
"name": "Updated Corp"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Organization updated successfully
Organization updated successfully
Show child attributes
{ "id": "org_123", "name": "Updated Corp" }