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
string
required
Unique identifier for this provider. Use lowercase letters, digits, and hyphens (e.g.
"acme-labs"). Must not already exist on this node.string
required
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.string
Optional human-readable name shown in listings (e.g.
"Acme Labs").string (UUID)
The
challenge_id returned by POST /v1/providers/ownership-challenges. Required when the node enforces ownership challenges.string
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.
integer
Protocol schema version. Currently
1.string
The registered provider identifier.
string
The DID associated with this provider.
string
Human-readable display name, if provided.
string
Always
"active" for a newly registered provider.string
ISO 8601 timestamp of registration.