Update Organization
This API is used to update the organization
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
organization_idstringRequired
Organization ID
Body
addressstringOptional
citystringOptional
countrystringOptional
detailsstringOptional
idstringOptional
namestringOptional
phone_numberstringOptional
picstringOptional
prefixstringOptional
regionstringOptional
sales_idstringOptional
segmentstringOptional
subsegmentstringOptional
zipstringOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successpost/core/user/organization/edit/{organization_id}
POST /core/user/organization/edit/{organization_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 227
{
"address": "text",
"city": "text",
"country": "text",
"details": "text",
"id": "text",
"name": "text",
"phone_number": "text",
"pic": "text",
"prefix": "text",
"region": "text",
"sales_id": "text",
"segment": "text",
"subsegment": "text",
"zip": "text"
}200
Successful Response
{
"code": 200,
"data": {
"address": "text",
"city": "text",
"country": "text",
"details": "text",
"id": "text",
"name": "text",
"phone_number": "text",
"pic": "text",
"prefix": "text",
"region": "text",
"sales_id": "text",
"segment": "text",
"subsegment": "text",
"zip": "text"
},
"message": "Success"
}Last updated