# User

User API

> Search/List Users

GET {{host}}/marketplace/users

Query params

query [User email address]
limit [Maximum number of elements]
page  [Number of page]

Headers

Authorization: Bearer {{marketplace_user_token}}

Response 200


> Update User Status

PATCH {{host}}/marketplace/users/{{user_id}}/status

Headers

Content-Type: application/json
Authorization: Bearer {{marketplace_user_token}}

Body

{
    "new_status": "active"
}

Response 200


> User Permission Update

PATCH {{host}}/marketplace/users/{{user_id}}/permission

Headers

Content-Type: application/json
Authorization: Bearer {{marketplace_user_token}}

Body

{
    "new_permission_id": "3"
}

Response 200