Skip to main content
POST
/
v3
/
identity
/
{identityId}
/
activate
Activate Identity
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://platform.uat.proveapis.com/v3/identity/{identityId}/activate"

	payload := strings.NewReader("{\n  \"clientRequestId\": \"71010d88-d0e7-4a24-9297-d1be6fefde81\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
{
  "success": true
}

Authorizations

Authorization
string
header
required

The access token received from the /token endpoint. Refer to the Authentication page for more details.

Path Parameters

identityId
string
required

A Prove-generated unique ID for a specific identity.

Body

application/json

Request body for the V3 Activate Identity API.

clientRequestId
string

A client-generated unique ID for a specific session. This can be used to identify specific requests. The format of this ID is defined by the client - Prove recommends using a GUID, but any format can be accepted. Do not include Personally Identifiable Information (PII) in this field.

Example:

"71010d88-d0e7-4a24-9297-d1be6fefde81"

Response

V3ActivateIdentityResponse

Response body for the V3 Activate Identity API.

success
boolean
required

If true, the activate operation was successful.

Example:

true

I