User

Updated 

1. Creates a new User

Endpoint: POST /paid/governance/create/user

Request Body :

Field Descriptions

Field

Type

Required

Description

email

String

Yes

Email address of the user

name

String

Yes

Full name of the user

profilePicture

String

No

URL of the user's profile picture

teams

List

No

List of team associations for the user

teams[] Fields

Field

Type

Required

Description

organizationId

String

Yes

Organization ID the team belongs to

teamId

String

Yes

Team ID the user is part of

role

String

Yes

Role of the user in the team (e.g., Admin, Editor)

 

2. Delete a User

Endpoint: POST /paid/governance/delete/user?userMail=<email>

Query Param

Field

Type

Required

Description

id

String

Yes

Unique Email to identify the user

3. Get a User

Endpoint: GET /paid/governance/get/user?userMail=<email>

Response : 

Field

Type

Description

email

String

Email address of the user

name

String

Full name of the user

teams

List

List of team associations for the user