Update a credential template
Updates the specified credential template (group) by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
<Callout title="Naming update" type="warn"> Groups are being renamed to Credential Templates to better reflect their purpose. This is a **naming update only** — all functionality remains the same.During the transition, you may still see both terms used interchangeably across the API, app, and existing integrations. </Callout>
<Callout title="Legacy request shape" type="warn"> For backward compatibility, this endpoint still accepts the legacy `certificateDesignId` and `badgeDesignId` request fields for the time being. Those fields are deprecated, intentionally omitted from the request schema below, and may be removed without notice. Do not send both `designIds` and the legacy fields in the same request.If you use the legacy request shape, the response will also temporarily include legacy certificateDesignId and badgeDesignId fields for compatibility. </Callout>
Path parameters
The unique ID of the credential template (group).
The unique ID of the credential template (group).
Headers
API version header. Required for all requests.
API version header. Required for all requests.
Request body
Example request
{
"name": "Updated Financial Markets",
"designIds": [
"01fpwtztwf7sacca5r0c483mnm",
"01hz2ej4yzdcfkq9fa78nhyj0x"
],
"learningEventUrl": "https://www.coursera.org/learn/financial-markets-global"
}Response
Credential template (group) updated successfully
Example response
{
"id": "01g90279gp5sbmfek7wymcsvec",
"name": "Financial Markets",
"learningEventUrl": "https://www.coursera.org/learn/financial-markets-global",
"designIds": [
"01fpwtztwf7sacca5r0c483mnm",
"01hz2ej4yzdcfkq9fa78nhyj0x"
],
"certificateDesignId": "01fpwtztwf7sacca5r0c483mnm",
"badgeDesignId": "01hz2ej4yzdcfkq9fa78nhyj0x",
"createdAt": "2022-01-01T00:00:00.000Z",
"updatedAt": "2022-01-01T00:00:00.000Z"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.