A PUT with a new fq_name returns 200, but the record still has the old one.
Changing a record's fq_name after create
Common question, written up by the Supero team.
Linkrev 1
1 answer
Accepted answer
Accepted answer
uuid, fq_name, created_at, updated_at, parent_type and parent_uuid are fixed after create. An update that includes them drops those fields and saves the rest, which is why you see 200. To give a record a different identity, create a new record and move the references to it. Fields that a role isn't allowed to write are handled the same way (dropped, not rejected), so read the record back when you need to confirm what was stored.
Linkrev 1
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer