Update a user
Updates the supplied attributes of an existing user.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
userId
The unique identifier of the user.
Headers
X-Studies-Api-Version
Request
The user attributes to change.
name
The name of the user.
timezone
The user's IANA timezone identifier.
status
The standing of a user within your team. pending means the invitation has not yet been accepted, and revoked means access was withdrawn.
Allowed values:
metadata
The metadata to merge into the user. Set an individual value to null to delete that key.
Response headers
X-RateLimit-Limit
The number of requests permitted in the current rate limit window.
X-RateLimit-Remaining
The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.
X-RateLimit-Reset
The number of seconds until the current rate limit window resets.
Response
The updated user.
id
Unique identifier for a user.
name
The name of the user.
email
The email address of the user.
timezone
The timezone of the user, as an IANA timezone identifier.
status
The standing of a user within your team. pending means the invitation has not yet been accepted, and revoked means access was withdrawn.
Allowed values:
metadata
The metadata associated to the user.
created_at
UTC timestamp with microsecond precision, always suffixed with Z, in the form yyyy-MM-ddTHH:mm:ss.SSSSSSZ.
updated_at
UTC timestamp with microsecond precision, always suffixed with Z, in the form yyyy-MM-ddTHH:mm:ss.SSSSSSZ.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error