# Organization Admin

## Collect metrics

> Collects dashboard metrics. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/dashboard/collect-metrics":{"get":{"tags":["Organization Admin"],"summary":"Collect metrics","description":"Collects dashboard metrics. Requires authentication.","parameters":[{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Metrics collected successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Update user limit

> Updates the storage limit for a specific user. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/users/{user}/limits/update":{"put":{"tags":["Organization Admin"],"summary":"Update user limit","description":"Updates the storage limit for a specific user. Requires authentication.","parameters":[{"name":"user","in":"path","schema":{"type":"string"},"required":true,"description":"The ID of the user whose limit is to be updated."},{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"bytes_limit":{"type":"integer","description":"The new storage limit in bytes."}},"required":["bytes_limit"]}}}},"responses":{"200":{"description":"Limit updated successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## List members

> Retrieves a list of all members with pagination. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/members/list":{"get":{"tags":["Organization Admin"],"summary":"List members","description":"Retrieves a list of all members with pagination. Requires authentication.","parameters":[{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true},{"name":"page","in":"query","schema":{"type":"integer"},"required":false,"description":"Page number for pagination."},{"name":"limit","in":"query","schema":{"type":"integer"},"required":false,"description":"Maximum number of members per page."}],"responses":{"200":{"description":"List of members retrieved successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Create member

> Creates a new member. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/members/create":{"post":{"tags":["Organization Admin"],"summary":"Create member","description":"Creates a new member. Requires authentication.","parameters":[{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string","description":"The first name of the member."},"middle_name":{"type":"string","nullable":true,"description":"The middle name of the member (optional)."},"last_name":{"type":"string","description":"The last name of the member."},"suffix":{"type":"string","nullable":true,"description":"The suffix of the member (e.g., Jr., Sr.) (optional)."},"email":{"type":"string","description":"Member email address."},"password":{"type":"string","description":"Member password (must meet complexity requirements)."},"confirm_password":{"type":"string","description":"Confirmation of the member password."},"role":{"type":"string","description":"Member role (e.g., organization_user)."}},"required":["first_name","last_name","email","password","confirm_password","role"]}}}},"responses":{"201":{"description":"Member created successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Read member

> Retrieves details of a specific member. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/members/{user}/read":{"get":{"tags":["Organization Admin"],"summary":"Read member","description":"Retrieves details of a specific member. Requires authentication.","parameters":[{"name":"user","in":"path","schema":{"type":"string"},"required":true,"description":"The ID of the member to retrieve."},{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Member details retrieved successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"404":{"description":"Member not found."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Search members

> Searches for members by email. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/members/search":{"get":{"tags":["Organization Admin"],"summary":"Search members","description":"Searches for members by email. Requires authentication.","parameters":[{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true},{"name":"email","in":"query","schema":{"type":"string"},"required":true,"description":"Search term for member email."}],"responses":{"200":{"description":"Members found successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Update member

> Updates details of a specific member. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/members/{user}/update":{"put":{"tags":["Organization Admin"],"summary":"Update member","description":"Updates details of a specific member. Requires authentication.","parameters":[{"name":"user","in":"path","schema":{"type":"string"},"required":true,"description":"The ID of the member to update."},{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string","description":"Updated first name of the member."},"middle_name":{"type":"string","nullable":true,"description":"Updated middle name of the member (optional)."},"last_name":{"type":"string","description":"Updated last name of the member."},"suffix":{"type":"string","nullable":true,"description":"Updated suffix of the member (e.g., Jr., Sr.) (optional)."},"email":{"type":"string","description":"Updated member email address."},"password":{"type":"string","description":"Updated member password (must meet complexity requirements, optional)."},"is_verified":{"type":"boolean","description":"Updated verification status of the member."},"is_locked":{"type":"boolean","description":"Updated lock status of the member."},"is_deleted":{"type":"boolean","description":"Updated deleted status of the member."}}}}}},"responses":{"200":{"description":"Member updated successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"404":{"description":"Member not found."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Remove member

> Removes a member from an organization. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/members/{userID}/remove":{"delete":{"tags":["Organization Admin"],"summary":"Remove member","description":"Removes a member from an organization. Requires authentication.","parameters":[{"name":"userID","in":"path","schema":{"type":"string"},"required":true,"description":"The ID of the member to remove."},{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Member removed successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"404":{"description":"Member or organization not found."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Read organization

> Retrieves details of the organization. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/organization/read":{"get":{"tags":["Organization Admin"],"summary":"Read organization","description":"Retrieves details of the organization. Requires authentication.","parameters":[{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Organization details retrieved successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```

## Update organization

> Updates details of the organization. Requires authentication.

```json
{"openapi":"3.0.0","info":{"title":"Koneksi API Services","version":"1.0.0"},"servers":[{"url":"https://uat.koneksi.co.kr","description":"UAT"},{"url":"https://staging.koneksi.co.kr","description":"Staging"}],"paths":{"/clients/v1/organization-admin/organization/update":{"put":{"tags":["Organization Admin"],"summary":"Update organization","description":"Updates details of the organization. Requires authentication.","parameters":[{"name":"Client-ID","in":"header","schema":{"type":"string"},"required":true},{"name":"Client-Secret","in":"header","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Updated name of the organization."},"domain":{"type":"string","description":"Updated domain associated with the organization."},"contact":{"type":"string","description":"Updated contact email for the organization."},"parent_id":{"type":"string","nullable":true,"description":"Updated ID of the parent organization (optional)."}}}}}},"responses":{"200":{"description":"Organization updated successfully."},"401":{"description":"Unauthorized. Valid Client-ID and Client-Secret required."},"500":{"description":"Server error. An error occurred while processing the request."}}}}}}
```
