UpdateUserProfile

This method can be used for the following functionality: Update Profile for a User.

Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

Headers

PUT /api/ss/users/:id/profile HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Path

id (string)

Id of the user.

Example:

GET /api/ss/users/5e8017d2e1385f0c58e8f4f8/profile HTTP/1.1

Body

job_title (string) (optional)

Job title of the user.

Example:

organization (string) (optional)

Organization of the user.

Example:

business_group (string) (optional)

Business group of the user.

Example:

office_location (string) (optional)

Office location of the user.

Example:

about_me (string) (optional)

About the user.

Example:

tags (array of strings) (optional)

Tags for the user.

Example:

certifications (array of strings) (optional)

Certifications for the user.

Example:

education (array of objects) (optional)

Education for the user.

Example:

employment (array of objects) (optional)

Employment history for the user.

"duration" must be be either "0+ Years", "1-2 Years", "2-3 Years", "3-5 Years", "5-10 Years", "10+ Years"

Example:

Example

The following example is a cURL request to update the profile for a user.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

Response

Response contains a status or error.

Last updated