그룹(부서) 수정하기
PUT https://openapi.exosp.com/organization/v1/department
그룹(부서) 정보를 수정하는 API 입니다.
Request Body
항목
타입
설명
beforeUpperDepartmentFull*
string
이전 상위 그룹 전체 경로
beforeDepartmentName*
string
이전 그룹 이름
upperDepartmentFull
string
상위 그룹 전체 경로
departmentName
string
그룹 이름
Response Schema
항목
타입
설명
code
int
응답 처리 결과 코드
0 : 성공, 1 : 실패
message
string
응답 처리 결과 메세지
success : 성공, 그 외 : 실패
Example
curl -X 'PUT' \
'https://openapi.exosp.com/organization/v1/department' \
-H 'accept: application/json' \
-H 'x-exosp-access: YOUR_ACCESS_KEY' \
-H 'x-exosp-secret: YOUR_ACCESS_SECRET' \
-d '{
"beforeUpperDepartmentFull": "test",
"beforeDepartmentName": "test1",
"upperDepartmentFull": "test",
"departmentName": "test2"
}'
{
"code": 0,
"message": "success"
}Last updated