Skip to content

Badge Templates

Get Badge Templates

Request

GET /organizations/<organization_id>/badge_templates
Query Param Description
filter=<filter> Gets badge templates that match the specified filter
sort=<sort> Sorts the results based on the sort parameter
page=<page_number> Gets the specified page of badge templates

Filtering

The filter parameter has the following format: key::value. You can combine keys for stricter searches, e.g. state::active|query::archery.

Results can be filtered with the following keys:

Key Description
query Partial matches on badge template name or description
name Partial matches on badge template name or strict match by enclosing value in double-quotes
reporting_tags Matches on reporting tags as a comma delimited list
skills Matches badge templates matching any of the skills specified as a comma delimited list
state Matches badge templates in the specified state (active, archived,draft)
created_at_min Matches badge templates created on or after the specified date (YYYY-MM-DD)
created_at_max Matches badge templates created on or before the specified date (YYYY-MM-DD)
updated_at_min Matches badge templates where updated on or after the specified date (YYYY-MM-DD)
updated_at_max Matches badge templates where updated on or before the specified date (YYYY-MM-DD)
owner_id Matches badge templates owned by the given organization; allows multiple IDs delimited by comma

Sorting

The sort parameter has the following format: key1|key2. You can optionally include a - to indicate descending order. e.g. -name would return results in reverse-alphabetical order.

Results can be sorted with the following keys:

Key Description
badges_count Number of times the badge template has been issued
created_at Date when the badge template was created
name Name of the badge template
updated_at Date when the badge template was last updated

Paging

At most 50 results are returned at a time. Include an optional page parameter to fetch the next page of results.

Response

200 OK

{
  "data": [
    {
      "id": "216a37a4-4a79-411f-811d-05d1b561d230",
      "description": "Dynamically deliver go forward e-tailers",
      "global_activity_url": "https://www.example.com/foo",
      "name": "Badge Template 1",
      "state": "active",
      "public": true,
      "badges_count": 0,
      "show_badge_lmi": false,
      "show_lmi_jobs": false,
      "show_skill_tag_links": true,
      "vanity_slug": "badge-template-1",
      "criteria_url_name": null,
      "criteria_url": null,
      "certification": true,
      "state_updated_at": null,
      "created_at": "2014-04-01T14:41:00.000Z",
      "updated_at": "2014-04-01T14:41:00.000Z",
      "template_type": "skill",
      "show_template_settings": false,
      "get_issue_count": 0,
      "image": {
        "id": "73218b56-0713-4eeb-bdaa-939e010c1701",
        "url": "/system/test/images/73218b56-0713-4eeb-bdaa-939e010c1701/fake-352x352.png"
      },
      "image_url": "https://cdn.example.com/path/to/image.png",
      "url": "https://localhost/org/organization-4/badge/badge-template-1",
      "owner": {
        "type": "Organization",
        "id": "896bcba9-ff7a-46c5-a226-9dc0ab0d9a1a",
        "name": "Organization 4",
        "url": "https://api.youracclaim.com/v1/organizations/896bcba9-ff7a-46c5-a226-9dc0ab0d9a1a",
        "vanity_url": "https://localhost/org/organization-4",
        "vanity_slug": "organization-4",
        "verified": true
      },
      "alignments": [
        {
          "id": "7189030d-48c9-4171-a5c8-1452b59536e7",
          "name": "Alignment 7",
          "url": "http://www.example.com/alignment",
          "description": "Self-enabling cohesive task-force"
        }
      ],
      "recommendations": [
        {
          "id": "f110095f-d0d2-4a4b-ba79-241476c2cb1e",
          "title": "Go to this URL immediately!",
          "type": "url",
          "activity_url": "http://www.example.com/recommendation"
        }
      ],
      "required_badge_templates": [
        {
          "id": "f0766662-ff40-4537-9f80-bd9f0a0af2dc",
          "name": "Badge Template 2",
          "url": "https://localhost/org/organization-4/badge/badge-template-2",
          "image": {
            "id": "313ab318-d30d-4dae-86cc-f35e4c08c1f0",
            "url": "/system/test/images/313ab318-d30d-4dae-86cc-f35e4c08c1f0/fake-352x352.png"
          },
          "image_url": "https://cdn.example.com/path/to/image.png"
        }
      ],
      "badge_template_activities": [
        {
          "id": "307425d1-f3bd-4d7e-8503-4c0960d1d829",
          "title": "Kickboxing Activity",
          "activity_type": "Schedule / Registration",
          "activity_url": "http://www.example.com/awesomepage",
          "required_badge_template_id": null
        }
      ],
      "skills": [
        "Skill 7"
      ],
      "reporting_tags": [
        "Expert",
        "Retail"
      ]
    },
    {
      "id": "f0766662-ff40-4537-9f80-bd9f0a0af2dc",
      "description": "Dynamically deliver go forward e-tailers",
      "global_activity_url": "https://www.example.com/foo",
      "name": "Badge Template 2",
      "state": "active",
      "public": true,
      "badges_count": 0,
      "show_badge_lmi": false,
      "show_lmi_jobs": false,
      "show_skill_tag_links": true,
      "vanity_slug": "badge-template-2",
      "criteria_url_name": null,
      "criteria_url": null,
      "certification": true,
      "state_updated_at": null,
      "created_at": "2014-04-01T14:41:00.000Z",
      "updated_at": "2014-04-01T14:41:00.000Z",
      "template_type": "skill",
      "show_template_settings": false,
      "get_issue_count": 0,
      "image": {
        "id": "313ab318-d30d-4dae-86cc-f35e4c08c1f0",
        "url": "/system/test/images/313ab318-d30d-4dae-86cc-f35e4c08c1f0/fake-352x352.png"
      },
      "image_url": "https://cdn.example.com/path/to/image.png",
      "url": "https://localhost/org/organization-4/badge/badge-template-2",
      "owner": {
        "type": "Organization",
        "id": "896bcba9-ff7a-46c5-a226-9dc0ab0d9a1a",
        "name": "Organization 4",
        "url": "https://api.youracclaim.com/v1/organizations/896bcba9-ff7a-46c5-a226-9dc0ab0d9a1a",
        "vanity_url": "https://localhost/org/organization-4",
        "vanity_slug": "organization-4",
        "verified": true
      },
      "alignments": [
        {
          "id": "85e64534-11ef-4524-a910-f5bd2c857770",
          "name": "Alignment 8",
          "url": "http://www.example.com/alignment",
          "description": "Self-enabling cohesive task-force"
        }
      ],
      "recommendations": [
        {
          "id": "ea2d8428-06dc-49a2-be1e-52f9bb2b628d",
          "title": "Go to this URL immediately!",
          "type": "url",
          "activity_url": "http://www.example.com/recommendation"
        }
      ],
      "required_badge_templates": [

      ],
      "badge_template_activities": [
        {
          "id": "7ecdb3d7-7d2a-415b-9525-465fc984a231",
          "title": "Kickboxing Activity",
          "activity_type": "Schedule / Registration",
          "activity_url": "http://www.example.com/awesomepage",
          "required_badge_template_id": null
        }
      ],
      "skills": [
        "Skill 8"
      ],
      "reporting_tags": [
        "Expert",
        "Retail"
      ]
    }
  ],
  "metadata": {
    "count": 2,
    "current_page": 1,
    "total_count": 2,
    "total_pages": 1,
    "previous_page_url": null,
    "next_page_url": null
  }
}

Get a Single Badge Template

Request

GET /organizations/<organization_id>/badge_templates/<badge_template_id>

Response

200 OK

{
  "data": {
    "id": "823a5e0c-1d8d-4801-a5c8-bd4e3a776a4c",
    "description": "Dynamically deliver go forward e-tailers",
    "global_activity_url": "https://www.example.com/foo",
    "name": "Badge Template 7",
    "state": "active",
    "public": true,
    "badges_count": 0,
    "show_badge_lmi": false,
    "show_lmi_jobs": false,
    "show_skill_tag_links": true,
    "vanity_slug": "badge-template-7",
    "criteria_url_name": null,
    "criteria_url": null,
    "certification": true,
    "state_updated_at": null,
    "created_at": "2014-04-01T14:41:00.000Z",
    "updated_at": "2014-04-01T14:41:00.000Z",
    "template_type": "skill",
    "show_template_settings": true,
    "get_issue_count": 0,
    "image": {
      "id": "f032be87-358b-4ec0-a644-1b08427085db",
      "url": "/system/test/images/f032be87-358b-4ec0-a644-1b08427085db/fake-352x352.png"
    },
    "image_url": "https://cdn.example.com/path/to/image.png",
    "url": "https://localhost/org/organization-5/badge/badge-template-7",
    "owner": {
      "type": "Organization",
      "id": "b4deef45-9e00-4809-be6b-a6835a8f350e",
      "name": "Organization 5",
      "url": "https://api.youracclaim.com/v1/organizations/b4deef45-9e00-4809-be6b-a6835a8f350e",
      "vanity_url": "https://localhost/org/organization-5",
      "vanity_slug": "organization-5",
      "verified": true
    },
    "alignments": [
      {
        "id": "d78412c2-8fce-4426-9b75-a95e3940e21a",
        "name": "Alignment 9",
        "url": "http://www.example.com/alignment",
        "description": "Self-enabling cohesive task-force"
      }
    ],
    "recommendations": [
      {
        "id": "1708042b-f4cd-4825-ba72-54e6bc1e5ab0",
        "title": "Go to this URL immediately!",
        "type": "url",
        "activity_url": "http://www.example.com/recommendation"
      }
    ],
    "required_badge_templates": [
      {
        "id": "71c9ac77-09b3-4f4f-a1e8-ad4a96429980",
        "name": "Badge Template 8",
        "url": "https://localhost/org/organization-5/badge/badge-template-8",
        "image": {
          "id": "b78c5d6b-6d6d-47af-8a6a-fbc0fd011e27",
          "url": "/system/test/images/b78c5d6b-6d6d-47af-8a6a-fbc0fd011e27/fake-352x352.png"
        },
        "image_url": "https://cdn.example.com/path/to/image.png"
      }
    ],
    "badge_template_activities": [
      {
        "id": "ba50438c-5f3e-46bc-a32a-2f66c1d3059d",
        "title": "Kickboxing Activity",
        "activity_type": "Schedule / Registration",
        "activity_url": "http://www.example.com/awesomepage",
        "required_badge_template_id": null
      }
    ],
    "skills": [
      "Skill 9"
    ],
    "reporting_tags": [
      "Expert",
      "Retail"
    ],
    "recommending_templates": [

    ],
    "criterion_for": [

    ]
  },
  "metadata": {
  }
}

When a recommendation is a Badge, the response will contain a recommendation type of badge, and the related BadgeTemplate info:

{
  "data": {
    "id": "d8d039fe-3f45-4590-acfb-52897e70ee6a",
    "description": "Dynamically deliver go forward e-tailers",
    ...
    "recommendations": [
      {
        "id": "c7bebd8f-b5ab-49f9-8405-b2dc7aa4c59a",
        "title": "Archery",
        "type": "badge",
        "recommended_badge_template_id": "aac88290-24ce-11e4-a985-b2227cce2b54",
        "recommended_badge_template_name": "Archery",
        "recommended_badg_template_url": "https://www.youracclaim.com/org/organization-477/badge/badge-template-254"
      }
    ],
  }
}

Create a Badge Template

At least one skill, criteria URL (global_activity_url), and at least one activity (badge_template_activities) are required.

Request

POST /organizations/<organization_id>/badge_templates

Request Body

{
  "alignments": [
    {
      "name": "Educational Standard Name",
      "url": "https://www.example.com/educational_standard_details",
      "description": "Consectetur adipisicing elit, sed do eiusmod tempor."
    }
  ],
  "template_type": "skill",
  "description": "Fencing club champion.",
  "global_activity_url": "https://www.example.com/bar",
  "name": "Fencing",
  "recommendations": [
    {
      "title": "foo",
      "type": "url",
      "activity_url": "http://www.example.com/recommendation"
    }
  ],
  "skills": [
    "Fencing"
  ],
  "badge_template_activities": [
    {
      "activity_type": "Award",
      "title": "Placed in annual tournament",
      "activity_url": "https://www.example.com/award"
    },
    {
      "activity_type": "Badge",
      "required_badge_template_id": "eea26abd-25d4-42b9-9a64-da62a8103cc5"
    }
  ]
}

Response

201 Created Location: <badge_template_url>

{
  "data": {
    "id": "8526b98b-0bcc-4f08-9163-f84db39edc0a",
    "description": "Fencing club champion.",
    "global_activity_url": "https://www.example.com/bar",
    "name": "Fencing",
    "state": "active",
    "public": true,
    "badges_count": 0,
    "show_badge_lmi": false,
    "show_lmi_jobs": false,
    "show_skill_tag_links": true,
    "vanity_slug": "fencing",
    "criteria_url_name": null,
    "criteria_url": null,
    "certification": true,
    "state_updated_at": null,
    "created_at": "2014-04-01T14:41:00.000Z",
    "updated_at": "2014-04-01T14:41:00.000Z",
    "template_type": "skill",
    "show_template_settings": false,
    "get_issue_count": 0,
    "image": null,
    "image_url": null,
    "url": "https://localhost/org/organization-1/badge/fencing",
    "owner": {
      "type": "Organization",
      "id": "156a092b-f168-490b-b7bd-9317f406b3b8",
      "name": "Organization 1",
      "url": "https://api.youracclaim.com/v1/organizations/156a092b-f168-490b-b7bd-9317f406b3b8",
      "vanity_url": "https://localhost/org/organization-1",
      "vanity_slug": "organization-1",
      "verified": true
    },
    "alignments": [
      {
        "id": "1a1179f0-b46e-4fe2-ba9e-c1f5a040bbe1",
        "name": "Educational Standard Name",
        "url": "https://www.example.com/educational_standard_details",
        "description": "Consectetur adipisicing elit, sed do eiusmod tempor."
      }
    ],
    "recommendations": [
      {
        "id": "2e0a9989-f264-44c1-b005-91786bfeae42",
        "title": "foo",
        "type": "url",
        "activity_url": "http://www.example.com/recommendation"
      }
    ],
    "required_badge_templates": [

    ],
    "badge_template_activities": [
      {
        "id": "a33ddc1f-f174-4f6a-bc4f-4b6214968d84",
        "title": "Placed in annual tournament",
        "activity_type": "Award",
        "activity_url": "https://www.example.com/award",
        "required_badge_template_id": null
      },
      {
        "id": "4ba2b1e5-613d-4e8a-b540-21d8f7e92f0f",
        "title": null,
        "activity_type": "Badge",
        "activity_url": null,
        "required_badge_template_id": "f0d5ee8c-531a-4e03-b591-c4bbd11477e6",
        "required_badge_template_name": "Badge Template 2",
        "required_badge_template_url": "https://localhost/org/organization-1/badge/badge-template-2"
      }
    ],
    "skills": [
      "Fencing"
    ],
    "reporting_tags": [

    ]
  },
  "metadata": {
  }
}

Badge Template Images

Badge Templates can optionally include an image. Images can be sent via curl or a multipart-aware library such as HTTMultiParty.

For example:

curl -u 'YiGpgYUfl5lTAmDDa5T2':'' \
  -F description="The earner of this badge won the fencing club championship." \
  -F name="Fencing Club Champion" \
  -F image=@fencing.png  \
  -F template_type="skill" \
  https://api.youracclaim.com/v1/organizations/99/badge_templates

Update a Badge Template

Request

PUT /organizations/<organization_id>/badge_templates/<badge_template_id>

Request Body

{
  "alignments": [
    {
      "name": "Educational Standard Name",
      "url": "https://www.example.com/educational_standard_details",
      "description": "Consectetur adipisicing elit, sed do eiusmod tempor."
    }
  ],
  "template_type": "skill",
  "description": "Fencing club grand champion.",
  "global_activity_url": "https://www.example.com/biz",
  "name": "Fencing",
  "owner_id": "9d093ce4-e1f5-4bcc-9358-f72d783ee1bc",
  "recommendations": [
    {
      "title": "foo",
      "type": "url",
      "activity_url": "http://www.example.com/alt-activity"
    }
  ],
  "skills": [
    "Fencing"
  ],
  "reporting_tags": [
    "Expert",
    "Retail"
  ],
  "required_badge_templates": [
    {
      "id": "1a1f1b21-0a57-4624-af78-8a1ad163dc05"
    }
  ],
  "badge_template_activities": [
    {
      "title": "Kickboxing Activity",
      "activity_type": "Schedule / Registration",
      "activity_url": "http://www.example.com/awesomepage"
    }
  ]
}

Response

200 OK

{
  "data": {
    "id": "26d7f805-81c4-4a95-a87c-c37e21bf9a8d",
    "description": "Fencing club grand champion.",
    "global_activity_url": "https://www.example.com/biz",
    "name": "Fencing",
    "state": "active",
    "public": true,
    "badges_count": 0,
    "show_badge_lmi": false,
    "show_lmi_jobs": false,
    "show_skill_tag_links": true,
    "vanity_slug": "fencing",
    "criteria_url_name": null,
    "criteria_url": null,
    "certification": true,
    "state_updated_at": null,
    "created_at": "2014-04-01T14:41:00.000Z",
    "updated_at": "2014-04-01T14:41:00.000Z",
    "template_type": "skill",
    "show_template_settings": false,
    "get_issue_count": 0,
    "image": {
      "id": "53fa38d9-011c-4ee5-a997-ea548d0a0efb",
      "url": "/system/test/images/53fa38d9-011c-4ee5-a997-ea548d0a0efb/fake-352x352.png"
    },
    "image_url": "https://cdn.example.com/path/to/image.png",
    "url": "https://localhost/org/organization-6/badge/fencing",
    "owner": {
      "type": "Organization",
      "id": "71285ae5-ae90-471b-9039-ec2eb76a7260",
      "name": "Organization 6",
      "url": "https://api.youracclaim.com/v1/organizations/71285ae5-ae90-471b-9039-ec2eb76a7260",
      "vanity_url": "https://localhost/org/organization-6",
      "vanity_slug": "organization-6",
      "verified": true
    },
    "alignments": [
      {
        "id": "45b7e088-6bf6-45fb-bc24-57850cc58443",
        "name": "Educational Standard Name",
        "url": "https://www.example.com/educational_standard_details",
        "description": "Consectetur adipisicing elit, sed do eiusmod tempor."
      }
    ],
    "recommendations": [
      {
        "id": "fdb16713-9906-4aa6-98d8-6277484fe83b",
        "title": "foo",
        "type": "url",
        "activity_url": "http://www.example.com/alt-activity"
      }
    ],
    "required_badge_templates": [
      {
        "id": "e59c3cab-6f21-46eb-9659-80630d57395e",
        "name": "Badge Template 10",
        "url": "https://localhost/org/organization-6/badge/badge-template-10",
        "image": {
          "id": "12f25184-1029-4c3d-abe3-787bc5abf302",
          "url": "/system/test/images/12f25184-1029-4c3d-abe3-787bc5abf302/fake-352x352.png"
        },
        "image_url": "https://cdn.example.com/path/to/image.png"
      }
    ],
    "badge_template_activities": [
      {
        "id": "dce60c55-3368-443b-8094-80f65c60e5eb",
        "title": "Kickboxing Activity",
        "activity_type": "Schedule / Registration",
        "activity_url": "http://www.example.com/awesomepage",
        "required_badge_template_id": null
      }
    ],
    "skills": [
      "Fencing"
    ],
    "reporting_tags": [
      "Expert",
      "Retail"
    ]
  },
  "metadata": {
  }
}

Archive a Badge Template

This will prevent further badges from being issued for this template.

Request

PUT /organizations/<organization_id>/badge_templates/<badge_template_id>/archive

Response

200 OK

{
  "data": {
    "id": "11d7d21b-d11d-4624-a363-3ca77da7f60b",
    "description": "Dynamically deliver go forward e-tailers",
    "global_activity_url": "https://www.example.com/foo",
    "name": "Badge Template 11",
    "state": "archived",
    "public": true,
    "badges_count": 0,
    "show_badge_lmi": false,
    "show_lmi_jobs": false,
    "show_skill_tag_links": true,
    "vanity_slug": "badge-template-11",
    "criteria_url_name": null,
    "criteria_url": null,
    "certification": true,
    "state_updated_at": "2014-04-01T14:41:00.000Z",
    "created_at": "2014-04-01T14:41:00.000Z",
    "updated_at": "2014-04-01T14:41:00.000Z",
    "template_type": "skill",
    "show_template_settings": false,
    "get_issue_count": 0,
    "image": {
      "id": "b2728839-b11b-498f-b003-e528bbaeb776",
      "url": "/system/test/images/b2728839-b11b-498f-b003-e528bbaeb776/fake-352x352.png"
    },
    "image_url": "https://cdn.example.com/path/to/image.png",
    "url": "https://localhost/org/organization-7/badge/badge-template-11",
    "owner": {
      "type": "Organization",
      "id": "ac4378bb-71f1-4d18-9a82-870a24b295dc",
      "name": "Organization 7",
      "url": "https://api.youracclaim.com/v1/organizations/ac4378bb-71f1-4d18-9a82-870a24b295dc",
      "vanity_url": "https://localhost/org/organization-7",
      "vanity_slug": "organization-7",
      "verified": true
    },
    "alignments": [
      {
        "id": "9b0e3930-c848-4466-a6dd-b220480ed14c",
        "name": "Alignment 13",
        "url": "http://www.example.com/alignment",
        "description": "Self-enabling cohesive task-force"
      }
    ],
    "recommendations": [
      {
        "id": "45545962-8b85-40c6-8cfe-388f0441fd8e",
        "title": "Go to this URL immediately!",
        "type": "url",
        "activity_url": "http://www.example.com/recommendation"
      }
    ],
    "required_badge_templates": [
      {
        "id": "de198cee-5d3a-4ea7-8b68-a2900f37983e",
        "name": "Badge Template 12",
        "url": "https://localhost/org/organization-7/badge/badge-template-12",
        "image": {
          "id": "32117e04-20a1-4586-85e3-3226969e7253",
          "url": "/system/test/images/32117e04-20a1-4586-85e3-3226969e7253/fake-352x352.png"
        },
        "image_url": "https://cdn.example.com/path/to/image.png"
      }
    ],
    "badge_template_activities": [
      {
        "id": "b0eaa509-5608-475a-861c-edda430210be",
        "title": "Kickboxing Activity",
        "activity_type": "Schedule / Registration",
        "activity_url": "http://www.example.com/awesomepage",
        "required_badge_template_id": null
      }
    ],
    "skills": [
      "Skill 13"
    ]
  },
  "metadata": {
  }
}

Unarchive a Badge Template

This will allow badges to be issued for this template again.

Request

PUT /organizations/<organization_id>/badge_templates/<badge_template_id>/unarchive

Response

200 OK

{
  "data": {
    "id": "0f6c6083-c60d-480a-a55c-ad1cff5dcd13",
    "description": "Dynamically deliver go forward e-tailers",
    "global_activity_url": "https://www.example.com/foo",
    "name": "Badge Template 1",
    "state": "active",
    "public": true,
    "badges_count": 0,
    "show_badge_lmi": false,
    "show_lmi_jobs": false,
    "show_skill_tag_links": true,
    "vanity_slug": "badge-template-1",
    "criteria_url_name": null,
    "criteria_url": null,
    "certification": true,
    "state_updated_at": "2014-04-01T14:41:00.000Z",
    "created_at": "2014-04-01T14:41:00.000Z",
    "updated_at": "2014-04-01T14:41:00.000Z",
    "template_type": "skill",
    "show_template_settings": false,
    "get_issue_count": 0,
    "image": {
      "id": "2f35bd49-8756-421c-95cb-70e4bbb88bfb",
      "url": "/system/test/images/2f35bd49-8756-421c-95cb-70e4bbb88bfb/fake-352x352.png"
    },
    "image_url": "https://cdn.example.com/path/to/image.png",
    "url": "https://localhost/org/organization-1/badge/badge-template-1",
    "owner": {
      "type": "Organization",
      "id": "050284f0-1bce-4fe5-87a8-3312c37d4b65",
      "name": "Organization 1",
      "url": "https://api.youracclaim.com/v1/organizations/050284f0-1bce-4fe5-87a8-3312c37d4b65",
      "vanity_url": "https://localhost/org/organization-1",
      "vanity_slug": "organization-1",
      "verified": true
    },
    "alignments": [
      {
        "id": "79baf6b2-7aea-4dd9-a970-ab697d2e14c0",
        "name": "Alignment 1",
        "url": "http://www.example.com/alignment",
        "description": "Self-enabling cohesive task-force"
      }
    ],
    "recommendations": [
      {
        "id": "b0553279-bd8e-4428-8f9a-27dadcd82a36",
        "title": "Go to this URL immediately!",
        "type": "url",
        "activity_url": "http://www.example.com/recommendation"
      }
    ],
    "required_badge_templates": [
      {
        "id": "65a3b835-9ae2-4db4-8506-d90a815ccab0",
        "name": "Badge Template 2",
        "url": "https://localhost/org/organization-1/badge/badge-template-2",
        "image": {
          "id": "f40f654b-f8c6-4a22-8a8d-2750b6b74ad1",
          "url": "/system/test/images/f40f654b-f8c6-4a22-8a8d-2750b6b74ad1/fake-352x352.png"
        },
        "image_url": "https://cdn.example.com/path/to/image.png"
      }
    ],
    "badge_template_activities": [
      {
        "id": "fd714ac8-eb58-4d42-9be5-1596bdcf5e90",
        "title": "Kickboxing Activity",
        "activity_type": "Schedule / Registration",
        "activity_url": "http://www.example.com/awesomepage",
        "required_badge_template_id": null
      }
    ],
    "skills": [
      "Skill 1"
    ]
  },
  "metadata": {
  }
}

Delete a Badge Template

Request

DELETE /organizations/<organization_id>/badge_templates/<badge_template_id>

Response

204 No Content