Cloudflare\Organizations\Invites::update PHP Метод

update() публичный Метод

Update invitation roles (permission needed: #organization:edit) Change the Roles of a Pending Invite
public update ( string $organization_identifier, string $identifier, array $roles = null )
$organization_identifier string
$identifier string
$roles array Array of Roles associated with the invited user
    public function update($organization_identifier, $identifier, array $roles = null)
    {
        $data = ['roles' => $roles];
        return $this->patch('/organizations/' . $organization_identifier . '/invites/' . $identifier, $data);
    }