/**
   * @return an ActivationKey
   * @httpcode 400
   * @httpcode 200
   */
  @PUT
  @Path("{activation_key_id}")
  @Produces(MediaType.APPLICATION_JSON)
  public ActivationKey updateActivationKey(
      @PathParam("activation_key_id") @Verify(ActivationKey.class) String activationKeyId,
      ActivationKey key) {
    ActivationKey toUpdate = findKey(activationKeyId);
    toUpdate.setName(key.getName());
    activationKeyCurator.merge(toUpdate);

    return toUpdate;
  }