rejectMembershipRequest

@POST(value = "organizations/{organization_id}/membership_requests/{request_id}/reject")
abstract suspend fun rejectMembershipRequest(@Path(value = "organization_id") organizationId: String, @Path(value = "request_id") membershipRequestId: String): ClerkResult<OrganizationMembershipRequest, ClerkErrorResponse>

Rejects an organization membership request. The current user must have permissions to manage the members of the organization.

Parameters

organizationId

The organization ID.

membershipRequestId

The request Id.