사용자

사용자에 대한 REST API 작업

개요

circle-info

를 입력하세요 /users REST API 작업은 Panther 버전 1.112부터 오픈 베타 상태이며 모든 고객이 사용할 수 있습니다. 버그 보고 및 기능 요청은 Panther 지원 팀과 공유해 주세요.

다음과 상호작용하려면 이 API 작업을 사용하세요 사용자 Panther에서.

API를 호출하려면 Panther REST API 사용 방법 지침을 참조하세요— 이 문서 페이지에서 직접 호출하는 방법에 대한 안내.

필수 권한

  • 다음에 대해 GET 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 사용자 정보 읽기 권한을 선택하세요.

  • 다음에 대해 POSTDELETE 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 사용자 관리 권한을 선택하세요.

작업

Create a user

post
Authorizations
X-API-KeystringRequired
Body
emailstringRequired

The email address of the user

familyNamestringRequired

The family/last name of the user

givenNamestringRequired

The given/first name of the user

Responses
chevron-right
200

OK response.

application/json
post
/users

Get a user

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the user

Responses
chevron-right
200

OK response.

application/json
get
/users/{id}

Update a user

post
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the user

Body
emailstringRequired

The email address of the user

familyNamestringRequired

The family/last name of the user

givenNamestringRequired

The given/first name of the user

Responses
chevron-right
200

OK response.

application/json
post
/users/{id}

Delete a user

delete
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the user

Responses
chevron-right
200

OK response.

No content

delete
/users/{id}

No content

List users

get
Authorizations
X-API-KeystringRequired
Query parameters
cursorstringOptional

Pagination token

limitinteger · int64 · min: 1 · max: 60Optional

Maximum number of results to return

Default: 60
containsstringOptional

Search name and email fields in a case-insensitive fashion

emailstringOptional

An exact match of a user's email to return. If provided all other parameters are ignored

idstring[]Optional

Set of IDS to return

idsstringOptional

A comma delimited list of IDs

include-deactivatedbooleanOptional

Include deactivated users

statusstringOptional

Show only users with this Cognito status

Responses
chevron-right
200

OK response.

application/json
get
/users
200

OK response.

Last updated

Was this helpful?