Changes a member's name, role, or job title. `PUT` is accepted on the same path with
identical semantics.
The owner's role cannot be changed (`cannot_change_the_owners_role`), and `owner`
cannot be assigned to anyone else.
#### Permissions
Authenticate with a [Personal access token](/docs/apis/authorization#personal-access-tokens) whose holder is an owner or admin of the space. A project API token is not accepted on this endpoint, and a Personal access token has no scopes: the holder's role in the space is the whole authorization decision.
Request
This endpoint expects an object.
namestringRequired
The member's name.
roleenumOptional
The role to assign: admin or employee. The owner’s role cannot be changed (cannot_change_the_owners_role).
job_titleenumOptional
The member's job title.
Response
The request has succeeded.
typeenum
The object type. Always member.
idstringformat: "uuid"
The unique identifier of the membership, used in the path of the member endpoints.
emailstring
The member's email address.
namestring or null
The member’s name, or null when none was given.
roleenum
The member's role in the space.
job_titleenum or null
The member’s job title, or null when not set.
activatedboolean
Whether the member has accepted the invitation. false until the invitation is accepted.
last_logged_indatetime or null
The date and time the member last signed in, or null if they never have.
created_atdatetime
The date and time when the membership was created.
updated_atdatetime
The date and time when the membership was last updated.