Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 570 Bytes

invitations.md

File metadata and controls

21 lines (15 loc) · 570 Bytes

Invitations

Allows repository administrators to send email invitations to grant read, write, or admin privileges to a repository.

Prepare:

$invitation = new Bitbucket\API\Invitations();
$invitation->setCredentials(new Http\Message\Authentication\BasicAuth($bb_user, $bb_pass));

Send invitation:

$invitation->send($account_name, $repo_slug, '[email protected]', 'read');

Related: