Skip to content

사용량 조회 Default

GET/workspaces/{id}/usageCopied!

워크스페이스의 현재 멤버 수와 저장소 사용량을 조회해요.

접근 가능한 사용자

사용자

Request

Path

idstringrequired
워크스페이스 ID

Response

Returns 200 OK.

memberobject
멤버 사용량
member.currentnumber
현재 멤버 수

Example: 12

member.maxnumber
최대 멤버 수

Example: 50

storageobject
저장소 사용량
storage.currentnumber
현재 저장소 사용량

Example: 104857600

storage.maxnumber
제공되는 최대 저장소 용량

Example: 53687091200

Example

bash
curl 'https://api.youvico.com/workspaces/6ba7b810-9dad-11d1-80b4-00c04fd430c8/usage' \
  -H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...'
json
{
  "member": {
    "current": 12,
    "max": 50
  },
  "storage": {
    "current": 104857600,
    "max": 53687091200
  }
}