Skip to content

Unassign domain owner.

POST
/api/web/namespaces/system/tenant/domain_owner/unassign
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/namespaces/system/tenant/domain_owner/unassign \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com" }'

Unassign domain owner tries to remove domain owner privilege from user in the request. It checks that requester is domain owner. It implies such steps:

  1. remove domain owner boolean flag
  2. if tenant has SSO enabled:
  • mark user as SSO
  • DELETE password credential
  • DELETE OTP credential (if exists) NOTE: previously granted roles (including admin roles) will be retained.

Examples of this operation.

Media typeapplication/json
Domain owner un-assignment request

Domain owner assignment request.

object
email
Email

Remove domain owner privilege from user with this email.

string format: email
<= 1024 characters /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/
Examplegenerated
{
"email": "hello@example.com"
}

A successful response.

Media typeapplication/json
Empty

This can be used for messages where no values are needed.

object
Examplegenerated
{}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example