SERVICENET_REQUIRE_PROVIDER_OWNERSHIP_CHALLENGES enabled (the default for database-backed deployments), you must first create an ownership challenge and include the signed result in this request.
Request
Body parameters
Unique identifier for this provider. Use lowercase letters, digits, and hyphens (e.g.
"acme-labs"). Must not already exist on this node.The DID that controls this provider (e.g.
"did:key:z6Mk…"). Must match the DID used to create the ownership challenge when challenges are required.The
challenge_id returned by POST /v1/providers/ownership-challenges. Required when the node enforces ownership challenges.Base64-encoded Ed25519 signature of the challenge string, signed with the private key corresponding to
provider_did. Required when ownership_challenge_id is provided.Response
Returns the newly createdProviderRecord on success.