Skip to main content

Change settings for own user

PATCH 

/users/me

This route currently only supports changing the out_of_credits_threshold.

Request

Body

required
    out_of_credits_threshold integer

    Threshold for out-of-credits notification. If the threshold gets crossed with a task, then we trigger an email.

Responses

OK

Schema
    id numberrequired

    User ID

    email stringrequired

    Email address of the user

    role stringrequired

    Role of the user

    token stringdeprecated

    Legacy access token, will be null for new accounts and eventually deleted.

    credits_remaining numberrequired

    Remaining credits for this user

    invoice_allowed booleanrequired

    Is this user post-paid?

    out_of_credits_threshold integerrequired

    Threshold for out-of-credits notification. If the threshold gets crossed with a task, then we trigger an email.

    terms_of_service_version stringrequired

    Version string of the terms of service that the user has accepted

Loading...