Users (v1)

이 문서는 v1 API를 사용합니다. 자세한 내용은 v1 API를 참조하십시오.

Get User Details

get

Retrieves information about a user.

Path parameters
userIdstringRequired

The users ID. The API_KEY must have admin access to at least one group or organization where the requested user is a member and must have the api entitlement on their preferred organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
Header parameters
Content-Typestring · enumRequiredExample: application/json; charset=utf-8Possible values:
Responses
get
/user/{userId}

Get My Details

get

Retrieves information about the the user making the request.

Header parameters
Content-Typestring · enumRequiredExample: application/json; charset=utf-8Possible values:
Responses
get
/user/me

Modify organization notification settings

put

The organization notification settings for the user that will determine which emails are sent.

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
Body
and
anyOptionalExample: {"new-issues-remediations":{"enabled":true,"issueSeverity":"high","issueType":"vuln"},"project-imported":{"enabled":true},"test-limit":{"enabled":true},"weekly-report":{"enabled":true}}
Responses
put
/user/me/notification-settings/org/{orgId}
200Success

Get organization notification settings

get

The organization notification settings for the user that will determine which emails are sent.

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
Header parameters
Content-Typestring · enumRequiredExample: application/json; charset=utf-8Possible values:
Responses
get
/user/me/notification-settings/org/{orgId}
200Success

Modify project notification settings

put

The project notification settings for the user that will determine which emails are sent.

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
projectIdstringRequired

The project ID to return notification settings for.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454545
Body
and
anyOptionalExample: {"new-issues-remediations":{"enabled":true,"issueSeverity":"high","issueType":"vuln"}}
Responses
put
/user/me/notification-settings/org/{orgId}/project/{projectId}
200Success

No content

Get project notification settings

get

The project notification settings for the user that will determine which emails are sent.

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
projectIdstringRequired

The project ID to return notification settings for.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454545
Header parameters
Content-Typestring · enumRequiredExample: application/json; charset=utf-8Possible values:
Responses
get
/user/me/notification-settings/org/{orgId}/project/{projectId}
200Success

Last updated