Invites

Invites Partial Update

Update a specific organization invite.

Request

patchhttps://api.cloudsmith.io/v1/orgs/{org}/invites/{slug_perm}
Body params optional

Response body

object

object

role
string
optional
Allowed values: Owner, Manager, Member, Collaborator
Defaults to Member

Response

Responses

Invite updated

object

object

email
email
optional
length ≥ 1
expires_at
date-time
optional
inviter
string
optional
length ≥ 1
inviter_url
uri | null
optional
org
string
optional
role
string
optional
Allowed values: Owner, Manager, Member, Collaborator
Defaults to Member
slug_perm
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
teams
array of objects
optional
user
string
optional
length ≥ 1
user_url
uri | null
optional

The invite cannot be updated.

object

object

detail
string
required
length ≥ 1
fields
object
optional

Invite not found.

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional