Update Member
This API is used to update member in the organization
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
user_idstringRequired
User ID
Body
enforce_passwordbooleanOptional
organization_role_idintegerOptional
phone_numberstringOptional
role_idintegerRequired
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Successpost/core/user/organization/member/{user_id}
POST /core/user/organization/member/{user_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 165
{
"enforce_password": true,
"organization_role_id": 1,
"phone_number": "text",
"projects": [
{
"openstack_project_id": "text",
"project_id": "text",
"status": "text"
}
],
"role_id": 1
}200
Successful Response
{
"code": 200,
"data": null,
"message": "Success"
}Last updated