Update invite
PATCHapi.blutui.com/v1/agencies/{username}/invites/{id}
Update a team member's invite in your agency.
Path parameters
idstringrequired
The ID of the invite to update.
Body parameters
roleinteger
The ID of the role this invited team member will be apart of.
Response
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.agency('studio').invites.update('9dc1b356-6397-41d6-a177-bf88113d2084', {
role: 2
})
{
"id": "9dc1b356-6397-41d6-a177-bf88113d2084",
"object": "invite",
"email": "tony@stark.com",
"role": {
"id": 2,
"object": "role",
"name": "Developer",
"description": null,
"is_super": false,
"created_at": 1690330767,
"updated_at": 1690330767
},
"created_at": 1734552630,
"updated_at": 1734552630
}
idstring
The unique identifier for this invite.
objectstring
This will always contain invite
for this endpoint.
emailstring
The email address of the invited team member.
roleobject
The invited team member's role in the agency.
created_attimestamp
The invite's created at timestamp.
updated_attimestamp
The invite's updated at timestamp.
Last updated on