Access

The following endpoints allow you to view and manage end-user access to the specified merchant/domain as well as instantly provision credentials for end-users to access our portal.

Get access

get

Retrieves all users that have access to the merchant's company

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Responses
chevron-right
200

An array with all users

application/json
get
/portal/instance/access/users
200

An array with all users

Grant access

post

Grant company access to the specified user with the specified role. The system will send an invitation email to the newly created user.

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Body
emailstring · emailRequired

The target email address

Example: [email protected]
rolestring · enumRequired

The role the user will be granted in the company.

Example: OWNERPossible values:
Responses
chevron-right
200

Merchant added to the partner account

application/json
post
/portal/instance/access/users
200

Merchant added to the partner account

Provision access

post

Instantly provision the specified user and role in the company and return a magic link. This performs just-in-time user access creation or access updating.

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Body
emailstring · emailRequired

The email account of the user you want to provision

rolestring · enumRequired

The role to assign to the specified user

Possible values:
access_switchbooleanOptional

Set this field to false to disable switching between companies for the target user.

Default: true
Responses
chevron-right
200

The user access information and authentication information

application/json
post
/portal/instance/access/users/provision
200

The user access information and authentication information

Get access

get

Retrieve information about a user's access

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
userIdstringRequired

User id

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Responses
chevron-right
200

The user access information

application/json
get
/portal/instance/access/users/{userId}
200

The user access information

Update access

put

Update access information for the specified user

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
userIdstringRequired

User id

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Body
rolestring · enumOptional

The new role to assign to the user

Possible values:
is_activebooleanOptional

Enables or disables the user's access in the company.

Responses
chevron-right
200

Acknowledgement that request was successful.

application/json
Responseobject
put
/portal/instance/access/users/{userId}
200

Acknowledgement that request was successful.

Delete access

delete

Removes the specified user's access in the company.

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
userIdstringRequired

User id

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Responses
chevron-right
200

User access deletion confirmation

application/json
delete
/portal/instance/access/users/{userId}
200

User access deletion confirmation

Last updated