/api/auth/users/{userId}/tier
PUT
/api/auth/users/{userId}/tier
const url = 'https://example.com/api/auth/users/example/tier';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"tier":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/auth/users/example/tier \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tier": "example" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” userId
required
string
Request Body
Section titled “Request Body ”object
tier
string
Example generated
{ "tier": "example"}object
tier
string
Example generated
{ "tier": "example"}object
tier
string
Example generated
{ "tier": "example"}Responses
Section titled “ Responses ”OK