POST/users/{userId}/suspend

정상 상태인 구성원을 일시 정지 상태로 변경한다.

참고

  • 최고 관리자는 '일시 정지' 상태로 변경할 수 없다.
  • '사용 중' 상태인 구성원만 '일시 정지' 상태로 변경할 수 있다.

Authorization

oauth2

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

Scope

user
directory

HTTP Request

POSThttps://www.worksapis.com/v1.0/users/{userId}/suspend

Path Parameters

ParameterTypeDescription
userId string 

구성원 ID
- 메일
- 리소스 ID
- 외부 키 "externalKey:{externalKey}" 형태


required
example : userf7da-f82c-4284-13e7-030f3b4c756x 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content

HTTP 400

Bad Request

HTTP 404

Not Found