DELETE/orgunits/{orgUnitId}

조직을 삭제한다.

주의

  • 조직을 삭제하면 사용 중인 메시지방, 노트, 일정 및 폴더 데이터가 모두 삭제된다. 이때 할 일은 삭제되지 않고 내 할 일로 저장된다.
  • 조직 또는 하위 조직에 구성원이 속해있는 경우, 조직은 삭제할 수 없다.
  • 이 API는 단일 스레드로 호출되어야 한다.

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.

Scope

directory
orgunit

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/orgunits/{orgUnitId}

Path Parameters

ParameterTypeDescription
orgUnitId string 

조직 ID
- 리소스 ID
- 외부 키 "externalKey:{externalKey}" 형태


required
example : orgunitf-f27f-4af8-27e1-03817a911417 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content

HTTP 404

Not Found