[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator

Revoke User Invitation

Description

Revokes an email invitation sent to a user.

Request

Request

URL

URL


delete
https://console.navigator.vmware.com/cphub/api/auth/v1/orgs/{orgId}/invitations
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.


Request Body

Request Body

UserInvitationEmailsDto of mimetype application/json Optional

Defines the request body to revoke email invitations sent.

{
    "emails": [
        "...",
        "..."
    ]
}
array of string
emails Optional

The list of User invitation emails

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted Response Body>

Response Body

202 Accepted

Returns AddUserGenericResponse of type application/json
{
	"failed": {
		"onAdd": {
			"key": "string"
		},
		"onInvite": {
			"key": "string"
		}
	},
	"majorErrorCode": "string",
	"message": "string",
	"minorErrorCode": "string",
	"parameterList": [
		"string"
	],
	"succeeded": {
		"added": [
			"string"
		],
		"invited": {
			"key": "string"
		}
	}
}
failed Optional

Defines the properties for Add and Invited users which failed.


succeeded Optional

Details of Added and Invited users which succeeded.


207 Response Body>

Response Body

207

Returns AddUserGenericResponse of type application/json
{
	"failed": {
		"onAdd": {
			"key": "string"
		},
		"onInvite": {
			"key": "string"
		}
	},
	"majorErrorCode": "string",
	"message": "string",
	"minorErrorCode": "string",
	"parameterList": [
		"string"
	],
	"succeeded": {
		"added": [
			"string"
		],
		"invited": {
			"key": "string"
		}
	}
}
failed Optional

Defines the properties for Add and Invited users which failed.


succeeded Optional

Details of Added and Invited users which succeeded.

Errors

Errors

400

Bad Request - The request is either incomplete or incorrect


401

Unauthorized - The user is not authorized to use the API


500

Internal Server Error - An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl -X DELETE -H "Content-Type: application/json" -d '{"emails":["...","..."]}' https://console.navigator.vmware.com/cphub/api/auth/v1/orgs/{orgId}/invitations
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: body


Feedback

Was this page helpful?