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.Optional human-readable name shown in listings (e.g.
"Acme Labs").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.
Protocol schema version. Currently
1.The registered provider identifier.
The DID associated with this provider.
Human-readable display name, if provided.
Always
"active" for a newly registered provider.ISO 8601 timestamp of registration.
Status codes
| Code | Meaning |
|---|---|
201 Created | Provider registered successfully. |
400 Bad Request | Missing required fields, invalid DID format, or invalid ownership signature. |
409 Conflict | A provider with the given provider_id already exists on this node. |