Post user

This API route will let you update a user.

POST

Authentication

Authentication is required by using your Api Key in the Authorization header.

Authorization: ApiKey [SERVER_API_KEY]
note

You should only use this API call from your server.
For security reasons, each API endpoint has a rate limit of 5 requests per second.

Url parameters

appId
StringApp id
userId
StringUser id

Body parameters

environment(Optional)Values
StringApp environment (production by default)
tags
ObjectUpdate user tags (You must create the tag first on the dashboard and the value cannot exceed 64 characters)
country
StringUpdate user country code
userId
StringUpdate user id

Example

Url

https://api.iaphub.com/v1/app/acc317e366ce2d1f18fcb743/user/5cc317e366ce2d1f18fcb743

Body

{
environment: 'staging',
tags: {gender: 'male'}
}

Response

{}