Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuniper committed Oct 8, 2018
1 parent 80aa6dc commit 4c0fce1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/arcgis-rest-users/src/invitation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ export function acceptInvitation(
return request(url, requestOptions);
}

/**
* Decline an invitation.
*
* @param requestOptions - Options for the request
* @returns A Promise that will resolve with the success/failure status of the request
*/
export function declineInvitation(
id: string,
requestOptions: IUserRequestOptions
Expand Down

0 comments on commit 4c0fce1

Please sign in to comment.