/organizations/{organization_id}/memberships
Retrieves all user memberships for the given organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The organization ID. |
| limit | query | optional | number | Applies a limit to the number of results returned. |
| offset | query | optional | number | Skip the first |
| order_by | query | optional | string | Sorts organizations memberships by phone_number, email_address, created_at, first_name, last_name or username. |
A list of organization memberships
Authentication invalid
Invalid request parameters
GET /organizations/{organization_id}/memberships
/organizations/{organization_id}/memberships
Adds a user as a member to the given organization.
Only users in the same instance as the organization can be added as members.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization where the new membership will be created |
application/json
OrganizationMembershipsAddUserToOrganizationRequest
| Property | Type | Required |
|---|---|---|
| role | string | required |
| user_id | string | required |
Success
Request was not successful
Authorization invalid
Resource not found
Invalid request parameters
POST /organizations/{organization_id}/memberships
/organizations/{organization_id}/memberships/{user_id}
Removes the given membership from the organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization the membership belongs to |
| user_id | path | required | string | The ID of the user that this membership belongs to |
Success
Request was not successful
Authentication invalid
Resource not found
DELETE /organizations/{organization_id}/memberships/{user_id}
/organizations/{organization_id}/memberships/{user_id}
Updates the properties of an existing organization membership
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization the membership belongs to |
| user_id | path | required | string | The ID of the user that this membership belongs to |
application/json
OrganizationMembershipsUpdateMembershipPropertiesRequest
| Property | Type | Required |
|---|---|---|
| role | string | required |
Success
Request was not successful
Resource not found
Invalid request parameters
PATCH /organizations/{organization_id}/memberships/{user_id}
/organizations/{organization_id}/memberships/{user_id}/metadata
Update an organization membership’s metadata attributes by merging existing values with the provided parameters.
Metadata values will be updated via a deep merge. Deep means that any nested JSON objects will be merged as well.
You can remove metadata keys at any level by setting their value to null.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization the membership belongs to |
| user_id | path | required | string | The ID of the user that this membership belongs to |
application/json
OrganizationMembershipsUpdateMembershipMetadataRequest
| Property | Type | Required |
|---|---|---|
| public_metadata | object | optional |
| private_metadata | object | optional |
Success
Request was not successful
Resource not found
Invalid request parameters
PATCH /organizations/{organization_id}/memberships/{user_id}/metadata
/organizations
This request returns the list of organizations for an instance.
Results can be paginated using the optional limit and offset query parameters.
The organizations are ordered by descending creation date.
Most recent organizations will be returned first.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | number | Applies a limit to the number of results returned. |
| offset | query | optional | number | Skip the first |
| include_members_count | query | optional | boolean | Flag to denote whether the member counts of each organization should be included in the response or not. |
| query | query | optional | string | Returns organizations with ID, name, or slug that match the given query. |
| order_by | query | optional | string | Allows to return organizations in a particular order. |
A list of organizations
Request was not successful
Authorization invalid
Invalid request parameters
GET /organizations
/organizations
Creates a new organization with the given name for an instance.
In order to successfully create an organization you need to provide the ID of the User who will become the organization administrator.
You can specify an optional slug for the new organization.
If provided, the organization slug can contain only lowercase alphanumeric characters (letters and digits) and the dash “-“.
Organization slugs must be unique for the instance.
You can provide additional metadata for the organization and set any custom attribute you want.
Organizations support private and public metadata.
Private metadata can only be accessed from the Backend API.
Public metadata can be accessed from the Backend API, and are read-only from the Frontend API.
application/json
OrganizationsCreateNewOrganizationRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| slug | string | optional |
| created_by | string | required |
| public_metadata | object | optional |
| private_metadata | object | optional |
| max_allowed_memberships | integer | optional |
An organization
Request was not successful
Authorization invalid
Invalid request parameters
POST /organizations
/organizations/{organization_id}
Deletes the given organization.
Please note that deleting an organization will also delete all memberships and invitations.
This is not reversible.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization to delete |
Deleted Object
Resource not found
DELETE /organizations/{organization_id}
/organizations/{organization_id}
Fetches the organization whose ID or slug matches the provided id_or_slug URL query parameter.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID or slug of the organization |
An organization
Authorization invalid
Resource not found
GET /organizations/{organization_id}
/organizations/{organization_id}
Updates an existing organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization to update |
application/json
OrganizationsUpdateOrganizationRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| slug | string | optional |
| public_metadata | object | optional |
| private_metadata | object | optional |
| admin_delete_enabled | boolean | optional |
| max_allowed_memberships | integer | optional |
An organization
Resource not found
Resource not found
Invalid request parameters
PATCH /organizations/{organization_id}
/organizations/{organization_id}/logo
Delete the organization’s logo.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization for which the logo will be deleted. |
An organization
Resource not found
DELETE /organizations/{organization_id}/logo
/organizations/{organization_id}/logo
Set or replace an organization’s logo, by uploading an image file.
This endpoint uses the multipart/form-data request content type and accepts a file of image type.
The file size cannot exceed 10MB.
Only the following file content types are supported: image/jpeg, image/png, image/gif, image/webp, image/x-icon, image/vnd.microsoft.icon.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization for which to upload a logo |
multipart/form-data
OrganizationsUpdateOrganizationLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
| uploader_user_id | string | required |
An organization with a logo URL.
Request was not successful
Authorization invalid
Resource not found
Request was not successful
PUT /organizations/{organization_id}/logo
/organizations/{organization_id}/metadata
Update organization metadata attributes by merging existing values with the provided parameters.
Metadata values will be updated via a deep merge.
Deep meaning that any nested JSON objects will be merged as well.
You can remove metadata keys at any level by setting their value to null.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | The ID of the organization for which metadata will be merged or updated |
application/json
OrganizationsMergeOrganizationMetadataRequest
| Property | Type | Required |
|---|---|---|
| public_metadata | object | optional |
| private_metadata | object | optional |
An organization
Request was not successful
Authentication invalid
Resource not found
Invalid request parameters
PATCH /organizations/{organization_id}/metadata
/phone_numbers
Create a new phone number
application/json
PhoneNumbersCreateNewPhoneNumberRequest
| Property | Type | Required |
|---|---|---|
| primary | boolean | optional |
| user_id | string | optional |
| verified | boolean | optional |
| phone_number | string | optional |
| reserved_for_second_factor | boolean | optional |
Success
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
Invalid request parameters
POST /phone_numbers
/phone_numbers/{phone_number_id}
Delete the phone number with the given ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| phone_number_id | path | required | string | The ID of the phone number to delete |
Deleted Object
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
DELETE /phone_numbers/{phone_number_id}
/phone_numbers/{phone_number_id}
Returns the details of a phone number
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| phone_number_id | path | required | string | The ID of the phone number to retrieve |
Success
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
GET /phone_numbers/{phone_number_id}
/phone_numbers/{phone_number_id}
Updates a phone number
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| phone_number_id | path | required | string | The ID of the phone number to update |
application/json
PhoneNumbersUpdateDetailsRequest
| Property | Type | Required |
|---|---|---|
| primary | boolean | optional |
| verified | boolean | optional |
| reserved_for_second_factor | boolean | optional |
Success
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
PATCH /phone_numbers/{phone_number_id}
/proxy_checks
This endpoint can be used to validate that a proxy-enabled domain is operational.
It tries to verify that the proxy URL provided in the parameters maps to a functional proxy that can reach the Clerk Frontend API.
You can use this endpoint before you set a proxy URL for a domain. This way you can ensure that switching to proxy-based
configuration will not lead to downtime for your instance.
The proxy_url parameter allows for testing proxy configurations for domains that don’t have a proxy URL yet, or operate on
a different proxy URL than the one provided. It can also be used to re-validate a domain that is already configured to work with a proxy.
application/json
ProxyChecksVerifyProxyConfigurationRequest
| Property | Type | Required |
|---|---|---|
| domain_id | string | optional |
| proxy_url | string | optional |
Health check information about a domain’s proxy configuration validation attempt.
Request was not successful
Invalid request parameters
POST /proxy_checks
/redirect_urls
Lists all whitelisted redirect_urls for the instance
List of Redirect URLs
GET /redirect_urls
/redirect_urls
Create a redirect URL
application/json
RedirectUrLsCreateNewUrlRequest
| Property | Type | Required |
|---|---|---|
| url | string | optional |
Success
Request was not successful
Invalid request parameters
POST /redirect_urls
/redirect_urls/{id}
Remove the selected redirect URL from the whitelist of the instance
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | The ID of the redirect URL |
Deleted Object
Resource not found
DELETE /redirect_urls/{id}
/redirect_urls/{id}
Retrieve the details of the redirect URL with the given ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | The ID of the redirect URL |
Success
Resource not found
GET /redirect_urls/{id}
/saml_connections
Returns the list of SAML Connections for an instance.
Results can be paginated using the optional limit and offset query parameters.
The SAML Connections are ordered by descending creation date and the most recent will be returned first.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | number | Applies a limit to the number of results returned. |
| offset | query | optional | number | Skip the first |
A list of SAML Connections
Payment required
Authorization invalid
Invalid request parameters
GET /saml_connections
/saml_connections
Create a new SAML Connection.
application/json
SamlConnectionsBetaCreateNewConnectionRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| domain | string | required |
| provider | string | required |
| idp_sso_url | string | optional |
| idp_metadata | string | optional |
| idp_entity_id | string | optional |
| idp_certificate | string | optional |
| idp_metadata_url | string | optional |
| attribute_mapping | object | optional |
| └ user_id | string | optional |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ email_address | string | optional |
A SAML Connection
Payment required
Authorization invalid
Invalid request parameters
POST /saml_connections
/saml_connections/{saml_connection_id}
Deletes the SAML Connection whose ID matches the provided id in the path.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| saml_connection_id | path | required | string | The ID of the SAML Connection to delete |
Deleted Object
Payment required
Authorization invalid
Resource not found
DELETE /saml_connections/{saml_connection_id}
/saml_connections/{saml_connection_id}
Fetches the SAML Connection whose ID matches the provided saml_connection_id in the path.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| saml_connection_id | path | required | string | The ID of the SAML Connection |
A SAML Connection
Payment required
Authorization invalid
Resource not found
GET /saml_connections/{saml_connection_id}
/saml_connections/{saml_connection_id}
Updates the SAML Connection whose ID matches the provided id in the path.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| saml_connection_id | path | required | string | The ID of the SAML Connection to update |
application/json
SamlConnectionsBetaUpdateConnectionByIdRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| active | boolean | optional |
| domain | string | optional |
| idp_sso_url | string | optional |
| idp_metadata | string | optional |
| idp_entity_id | string | optional |
| idp_certificate | string | optional |
| allow_subdomains | boolean | optional |
| idp_metadata_url | string | optional |
| attribute_mapping | object | optional |
| └ user_id | string | optional |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ email_address | string | optional |
| allow_idp_initiated | boolean | optional |
| sync_user_attributes | boolean | optional |
A SAML Connection
Payment required
Authorization invalid
Resource not found
Invalid request parameters
PATCH /saml_connections/{saml_connection_id}
/sessions
Returns a list of all sessions.
The sessions are returned sorted by creation date, with the newest sessions appearing first.
Deprecation Notice (2024-01-01): All parameters were initially considered optional, however
moving forward at least one of client_id or user_id parameters should be provided.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| client_id | query | optional | string | List sessions for the given client |
| user_id | query | optional | string | List sessions for the given user |
| status | query | optional | string | Filter sessions by the provided status |
| limit | query | optional | number | Applies a limit to the number of results returned. |
| offset | query | optional | number | Skip the first |
Success
Request was not successful
Authentication invalid
Invalid request parameters
GET /sessions
/sessions/{session_id}
Retrieve the details of a session
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| session_id | path | required | string | The ID of the session |
Success
Request was not successful
Authentication invalid
Resource not found
GET /sessions/{session_id}
/sessions/{session_id}/revoke
Sets the status of a session as “revoked”, which is an unauthenticated state.
In multi-session mode, a revoked session will still be returned along with its client object, however the user will need to sign in again.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| session_id | path | required | string | The ID of the session |
Success
Request was not successful
Authentication invalid
Resource not found
POST /sessions/{session_id}/revoke
/sessions/{session_id}/tokens/{template_name}
Creates a JSON Web Token(JWT) based on a session and a JWT Template name defined for your instance
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| session_id | path | required | string | The ID of the session |
| template_name | path | required | string | The name of the JWT Template defined in your instance (e.g. |
OK
Authentication invalid
Resource not found
POST /sessions/{session_id}/tokens/{template_name}
/sign_in_tokens
Creates a new sign-in token and associates it with the given user.
By default, sign-in tokens expire in 30 days.
You can optionally supply a different duration in seconds using the expires_in_seconds property.
application/json
SigninTokensCreateTokenRequest
| Property | Type | Required |
|---|---|---|
| user_id | string | optional |
| expires_in_seconds | integer | optional |
Success
Resource not found
Invalid request parameters
POST /sign_in_tokens
/sign_in_tokens/{sign_in_token_id}/revoke
Revokes a pending sign-in token
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| sign_in_token_id | path | required | string | The ID of the sign-in token to be revoked |
Success
Request was not successful
Resource not found
POST /sign_in_tokens/{sign_in_token_id}/revoke
/sign_ups/{id}
Update the sign-up with the given ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | The ID of the sign-up to update |
application/json
SignupsUpdateSignUpByIdRequest
| Property | Type | Required |
|---|---|---|
| external_id | string | optional |
| custom_action | boolean | optional |
Success
Authorization invalid
PATCH /sign_ups/{id}
/users
Returns a list of all users.
The users are returned sorted by creation date, with the newest users appearing first.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| email_address | query | optional | array | Returns users with the specified email addresses. |
| phone_number | query | optional | array | Returns users with the specified phone numbers. |
| external_id | query | optional | array | Returns users with the specified external ids. |
| username | query | optional | array | Returns users with the specified usernames. |
| web3_wallet | query | optional | array | Returns users with the specified web3 wallet addresses. |
| user_id | query | optional | array | Returns users with the user ids specified. |
| organization_id | query | optional | array | Returns users that have memberships to the |
| query | query | optional | string | Returns users that match the given query. |
| last_active_at_since | query | optional | integer | Returns users that had session activity since the given date, with day precision. |
| limit | query | optional | number | Applies a limit to the number of results returned. |
| offset | query | optional | number | Skip the first |
| order_by | query | optional | string | Allows to return users in a particular order. |
Success
Request was not successful
Authentication invalid
Invalid request parameters
GET /users
/users
Creates a new user. Your user management settings determine how you should setup your user model.
Any email address and phone number created using this method will be marked as verified.
Note: If you are performing a migration, check out our guide on zero downtime migrations.
A rate limit rule of 20 requests per 10 seconds is applied to this endpoint.
application/json
UsersCreateNewUserRequest
| Property | Type | Required |
|---|---|---|
| password | string | optional |
| username | string | optional |
| last_name | string | optional |
| created_at | string | optional |
| first_name | string | optional |
| external_id | string | optional |
| totp_secret | string | optional |
| web3_wallet | array | optional |
| backup_codes | array | optional |
| phone_number | array | optional |
| email_address | array | optional |
| password_digest | string | optional |
| password_hasher | string | optional |
| public_metadata | object | optional |
| unsafe_metadata | object | optional |
| private_metadata | object | optional |
| skip_password_checks | boolean | optional |
| skip_password_requirement | boolean | optional |
Success
Request was not successful
Authentication invalid
Authentication invalid
Invalid request parameters
POST /users
/users/count
Returns a total count of all users that match the given filtering criteria.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| email_address | query | optional | array | Counts users with the specified email addresses. |
| phone_number | query | optional | array | Counts users with the specified phone numbers. |
| external_id | query | optional | array | Counts users with the specified external ids. |
| username | query | optional | array | Counts users with the specified usernames. |
| web3_wallet | query | optional | array | Counts users with the specified web3 wallet addresses. |
| user_id | query | optional | array | Counts users with the user ids specified. |
| query | query | optional | string | Counts users that match the given query. |
Success
Invalid request parameters
GET /users/count
/users/{user_id}
Delete the specified user
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to delete |
Deleted Object
Request was not successful
Authentication invalid
Resource not found
DELETE /users/{user_id}
/users/{user_id}
Retrieve the details of a user
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to retrieve |
Success
Request was not successful
Authentication invalid
Resource not found
GET /users/{user_id}
/users/{user_id}
Update a user’s attributes.
You can set the user’s primary contact identifiers (email address and phone numbers) by updating the primary_email_address_id and primary_phone_number_id attributes respectively.
Both IDs should correspond to verified identifications that belong to the user.
You can remove a user’s username by setting the username attribute to null or the blank string “”.
This is a destructive action; the identification will be deleted forever.
Usernames can be removed only if they are optional in your instance settings and there’s at least one other identifier which can be used for authentication.
This endpoint allows changing a user’s password. When passing the password parameter directly you have two further options.
You can ignore the password policy checks for your instance by setting the skip_password_checks parameter to true.
You can also choose to sign the user out of all their active sessions on any device once the password is updated. Just set sign_out_of_other_sessions to true.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to update |
application/json
UsersUpdateUserAttributesRequest
| Property | Type | Required |
|---|---|---|
| password | string | optional |
| username | string | optional |
| last_name | string | optional |
| created_at | string | optional |
| first_name | string | optional |
| external_id | string | optional |
| totp_secret | string | optional |
| backup_codes | array | optional |
| password_digest | string | optional |
| password_hasher | string | optional |
| public_metadata | object | optional |
| unsafe_metadata | object | optional |
| private_metadata | object | optional |
| profile_image_id | string | optional |
| delete_self_enabled | boolean | optional |
| skip_password_checks | boolean | optional |
| primary_web3_wallet_id | string | optional |
| primary_phone_number_id | string | optional |
| primary_email_address_id | string | optional |
| sign_out_of_other_sessions | boolean | optional |
| …2 more | object | optional |
Success
Request was not successful
Authentication invalid
Resource not found
Invalid request parameters
PATCH /users/{user_id}
/users/{user_id}/ban
Marks the given user as banned, which means that all their sessions are revoked and they are not allowed to sign in again.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to ban |
Success
Payment required
POST /users/{user_id}/ban
/users/{user_id}/lock
Marks the given user as locked, which means they are not allowed to sign in again until the lock expires.
Lock duration can be configured in the instance’s restrictions settings.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to lock |
Success
Authorization invalid
POST /users/{user_id}/lock
/users/{user_id}/metadata
Update a user’s metadata attributes by merging existing values with the provided parameters.
This endpoint behaves differently than the Update a user endpoint.
Metadata values will not be replaced entirely.
Instead, a deep merge will be performed.
Deep means that any nested JSON objects will be merged as well.
You can remove metadata keys at any level by setting their value to null.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user whose metadata will be updated and merged |
application/json
UsersMergeUserMetadataAttributesRequest
| Property | Type | Required |
|---|---|---|
| public_metadata | object | optional |
| unsafe_metadata | object | optional |
| private_metadata | object | optional |
Success
Request was not successful
Authentication invalid
Resource not found
Invalid request parameters
PATCH /users/{user_id}/metadata
/users/{user_id}/mfa
Disable all of a user’s MFA methods (e.g. OTP sent via SMS, TOTP on their authenticator app) at once.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user whose MFA methods are to be disabled |
Successful operation.
Resource not found
Request was not successful
DELETE /users/{user_id}/mfa
/users/{user_id}/oauth_access_tokens/{provider}
Fetch the corresponding OAuth access token for a user that has previously authenticated with a particular OAuth provider.
For OAuth 2.0, if the access token has expired and we have a corresponding refresh token, the access token will be refreshed transparently the new one will be returned.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user for which to retrieve the OAuth access token |
| provider | path | required | string | The ID of the OAuth provider (e.g. |
The OAuth access token of the user, if any.
Invalid request parameters
GET /users/{user_id}/oauth_access_tokens/{provider}
/users/{user_id}/organization_memberships
Retrieve a paginated list of the user’s organization memberships
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user whose organization memberships we want to retrieve |
| limit | query | optional | number | Applies a limit to the number of results returned. |
| offset | query | optional | number | Skip the first |
A list of organization memberships
Request was not successful
GET /users/{user_id}/organization_memberships
/users/{user_id}/profile_image
Delete a user’s profile image
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to delete the profile image for |
Success
Request was not successful
DELETE /users/{user_id}/profile_image
/users/{user_id}/profile_image
Update a user’s profile image
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to update the profile image for |
multipart/form-data
UsersSetProfileImageRequest
| Property | Type | Required |
|---|---|---|
| file | string | optional |
Success
Request was not successful
Request was not successful
Request was not successful
POST /users/{user_id}/profile_image
/users/{user_id}/unban
Removes the ban mark from the given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to unban |
Success
Payment required
POST /users/{user_id}/unban
/users/{user_id}/unlock
Removes the lock from the given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| user_id | path | required | string | The ID of the user to unlock |
Success
Authorization invalid
POST /users/{user_id}/unlock