For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add Member

This API is used to add member to the organization

post
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Body
emailstringRequired
enforce_passwordbooleanOptional
external_subdomainstringOptional
fullnamestringRequired
hoststringOptional
organization_role_idintegerOptional

tidak dipakai karena pake []Iserproject ProjectID string json:"project_id" validate:"required,xss_clean" conform:"trim"

phone_numberstringOptional
role_idintegerRequired
typestringOptional
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
dataanyOptional
messagestringOptionalExample: Success
post/core/user/organization/member
POST /core/user/organization/member HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 254

{
  "email": "text",
  "enforce_password": true,
  "external_subdomain": "text",
  "fullname": "text",
  "host": "text",
  "organization_role_id": 1,
  "phone_number": "text",
  "projects": [
    {
      "openstack_project_id": "text",
      "project_id": "text",
      "status": "text"
    }
  ],
  "role_id": 1,
  "type": "text"
}
200

Successful Response

{
  "code": 200,
  "data": null,
  "message": "Success"
}

Last updated